Change how AppVeyor build is invoked

This commit is contained in:
Alex Barney 2021-03-18 18:04:06 -07:00
parent a5d41f5b1f
commit 1309ec7b27
3 changed files with 9 additions and 2 deletions

View file

@ -4,5 +4,6 @@ environment:
myget_api_key: myget_api_key:
secure: 0xJoYAtR6psXCRvk1qm5czDObkeRjHKPjfe5gIExXVFPwA0VVODYv/hBZYUtz2F3 secure: 0xJoYAtR6psXCRvk1qm5czDObkeRjHKPjfe5gIExXVFPwA0VVODYv/hBZYUtz2F3
build_script: build_script:
- ps: .\build.ps1 appveyorbuild - cmd: .\build.cmd appveyorbuild
- sh: ./build.cmd appveyorbuild
test: off test: off

View file

@ -1 +0,0 @@
powershell -ExecutionPolicy Bypass -NoProfile -File .\build.ps1 %* -configuration Release

7
build.cmd Normal file
View file

@ -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" %*