playwright/browser_patches/winldd/build.sh
2022-03-31 15:09:38 -07:00

14 lines
250 B
Bash
Executable File

#!/bin/bash
set -e
set +x
trap "cd $(pwd -P)" EXIT
cd "$(dirname $0)"
if [[ "$(uname)" == MINGW* || "$(uname)" == MSYS* ]]; then
/c/Windows/System32/cmd.exe "/c buildwin.bat"
else
echo "ERROR: cannot upload on this platform!" 1>&2
exit 1;
fi