mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-11 12:33:45 +03:00
14 lines
250 B
Bash
Executable File
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
|