mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
3abaced877
Second try at #556. Uses absolute paths for the environment variables so that WPEDependencies builds properly. Switches from `WebKitBuildWPE` to `WebKitBuild/WPE` to avoid the need to change the .gitignore. My computer takes a long time to build, but it appears to be working.
18 lines
300 B
Bash
Executable File
18 lines
300 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set +x
|
|
|
|
trap "cd $(pwd -P)" EXIT
|
|
cd "$(dirname $0)"
|
|
cd "checkout"
|
|
|
|
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
|