2019-11-23 06:07:39 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
set +x
|
|
|
|
|
|
|
|
trap "cd $(pwd -P)" EXIT
|
2020-12-05 05:46:20 +03:00
|
|
|
if [[ ! -z "${FF_CHECKOUT_PATH}" ]]; then
|
|
|
|
cd "${FF_CHECKOUT_PATH}"
|
|
|
|
echo "WARNING: checkout path from FF_CHECKOUT_PATH env: ${FF_CHECKOUT_PATH}"
|
|
|
|
else
|
2021-10-14 20:20:06 +03:00
|
|
|
cd "$HOME/firefox"
|
2020-12-05 05:46:20 +03:00
|
|
|
fi
|
2019-11-23 06:07:39 +03:00
|
|
|
|
2020-03-21 05:24:38 +03:00
|
|
|
OBJ_FOLDER="obj-build-playwright"
|
2019-11-23 06:07:39 +03:00
|
|
|
if [[ -d $OBJ_FOLDER ]]; then
|
|
|
|
rm -rf $OBJ_FOLDER
|
|
|
|
fi
|
|
|
|
|
2021-10-28 23:42:18 +03:00
|
|
|
if [[ -f "mach" ]]; then
|
|
|
|
./mach clobber
|
|
|
|
fi
|