fix(devops): cleanup now removes entire webkit build dir on mac (#5996)

This commit is contained in:
Yury Semikhatsky 2021-03-29 23:48:34 -07:00 committed by GitHub
parent 061f9ea68a
commit 9473f39b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 9 deletions

View File

@ -12,12 +12,16 @@ else
cd "checkout"
fi
if [[ -d ./WebKitBuild ]]; then
rm -rf ./WebKitBuild/Release
fi
if [[ -d ./WebKitBuild/GTK ]]; then
rm -rf ./WebKitBuild/GTK/Release
fi
if [[ -d ./WebKitBuild/WPE ]]; then
rm -rf ./WebKitBuild/WPE/Release
fi
if [[ "$(uname)" == "Darwin" ]]; then
rm -rf ./WebKitBuild
else
if [[ -d ./WebKitBuild ]]; then
rm -rf ./WebKitBuild/Release
fi
if [[ -d ./WebKitBuild/GTK ]]; then
rm -rf ./WebKitBuild/GTK/Release
fi
if [[ -d ./WebKitBuild/WPE ]]; then
rm -rf ./WebKitBuild/WPE/Release
fi
fi