mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-16 15:52:24 +03:00
ec4ebefbd6
This is to make code less error-prone due to involved windows detection.
15 lines
228 B
Bash
Executable File
15 lines
228 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set +x
|
|
|
|
trap "cd $(pwd -P)" EXIT
|
|
cd "$(dirname $0)"
|
|
source "../utils.sh"
|
|
|
|
if is_win; then
|
|
/c/Windows/System32/cmd.exe "/c buildwin.bat"
|
|
else
|
|
echo "ERROR: cannot upload on this platform!" 1>&2
|
|
exit 1;
|
|
fi
|