devops: fix webkit build and cleanup on linux

This commit is contained in:
Andrey Lushnikov 2019-11-22 22:24:14 -08:00
parent a4d6175760
commit 2a4519ffd9
2 changed files with 6 additions and 1 deletions

View File

@ -18,6 +18,9 @@ fi
if [[ "$(uname)" == "Darwin" ]]; then
./Tools/Scripts/build-webkit --release
elif [[ "$(uname)" == "Linux" ]]; then
if ! [[ -d ./WebKitBuild ]]; then
yes | DEBIAN_FRONTEND=noninteractive ./Tools/Scripts/update-webkitgtk-libs
fi
./Tools/Scripts/build-webkit --gtk --release MiniBrowser
else
echo "ERROR: cannot upload on this platform!" 1>&2

View File

@ -6,4 +6,6 @@ trap "cd $(pwd -P)" EXIT
cd "$(dirname $0)"
cd "checkout"
rm -rf WebKitBuild
if [[ -d ./WebKitBuild ]]; then
rm -rf ./WebKitBuild/Release
fi