diff --git a/appveyor.yml b/appveyor.yml index daac4161..76fc2a3c 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,5 +4,6 @@ environment: myget_api_key: secure: 0xJoYAtR6psXCRvk1qm5czDObkeRjHKPjfe5gIExXVFPwA0VVODYv/hBZYUtz2F3 build_script: - - ps: .\build.ps1 appveyorbuild + - cmd: .\build.cmd appveyorbuild + - sh: ./build.cmd appveyorbuild test: off \ No newline at end of file diff --git a/build.bat b/build.bat deleted file mode 100644 index 4d54f80c..00000000 --- a/build.bat +++ /dev/null @@ -1 +0,0 @@ -powershell -ExecutionPolicy Bypass -NoProfile -File .\build.ps1 %* -configuration Release \ No newline at end of file diff --git a/build.cmd b/build.cmd new file mode 100644 index 00000000..8b8b89dc --- /dev/null +++ b/build.cmd @@ -0,0 +1,7 @@ +:; set -eo pipefail +:; SCRIPT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd) +:; ${SCRIPT_DIR}/build.sh "$@" +:; exit $? + +@ECHO OFF +powershell -ExecutionPolicy ByPass -NoProfile "%~dp0build.ps1" %*