devops: use mach clobber for clearing ff builds (#9864)

Clobbering is required when switching between native intel compilation
and firefox arm cross-compilation.
This commit is contained in:
Andrey Lushnikov 2021-10-28 13:42:18 -07:00 committed by GitHub
parent 544dcd8804
commit f19608d1de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,6 @@ if [[ ! -z "${FF_CHECKOUT_PATH}" ]]; then
cd "${FF_CHECKOUT_PATH}"
echo "WARNING: checkout path from FF_CHECKOUT_PATH env: ${FF_CHECKOUT_PATH}"
else
cd "$(dirname "$0")"
cd "$HOME/firefox"
fi
@ -16,3 +15,6 @@ if [[ -d $OBJ_FOLDER ]]; then
rm -rf $OBJ_FOLDER
fi
if [[ -f "mach" ]]; then
./mach clobber
fi

View File

@ -15,3 +15,6 @@ if [[ -d $OBJ_FOLDER ]]; then
rm -rf $OBJ_FOLDER
fi
if [[ -f "mach" ]]; then
./mach clobber
fi