mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
e64f66685a
Official WebKit no longer supports Mac 10.14. However, since this system is still very much in use, we want to be able to keep it running for a while. This patch adds a new browser that we would compile and maintain specifically for Mac 10.14: `deprecated-webkit-mac-10.14`. This browser is a clone of Webkit r1443 that is the last known revision to compile on Mac 10.14. As we move on, we're free to modify this browser however we want, backporting important patches. References #5833
24 lines
459 B
Bash
Executable File
24 lines
459 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set +x
|
|
|
|
trap "cd $(pwd -P)" EXIT
|
|
cd "$(dirname $0)"
|
|
|
|
if [[ ! -z "${WK_CHECKOUT_PATH}" ]]; then
|
|
cd "${WK_CHECKOUT_PATH}"
|
|
echo "WARNING: checkout path from WK_CHECKOUT_PATH env: ${WK_CHECKOUT_PATH}"
|
|
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
|