Skip to content

Commit

Permalink
install zip on appveyor for building distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmaclarty committed Sep 15, 2019
1 parent 265da50 commit 90c8d13
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/appveyor.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
pacman -S --noconfirm zip

curl -L -O https://github.com/bmatzelle/gow/archive/master.zip
unzip master.zip
set PATH=gow-master\bin\;C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
zip -r test-zip.zip gow-master
echo ZIP WORKS

if "%APPVEYOR_REPO_TAG_NAME:~-15%" == "-distro-trigger" goto builddistro

call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
Expand All @@ -27,6 +21,12 @@ call "%programfiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Bu
set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;"C:\Program Files (x86)\Inno Setup 5";%PATH%
set TAG=%APPVEYOR_REPO_TAG_NAME:~0,-15%
choco install -y InnoSetup

rem appveyor has no zip command, so install one
curl -L -O https://github.com/bmatzelle/gow/archive/master.zip
unzip master.zip
set PATH=%PATH%;gow-master\bin\

curl -L -O https://github.com/ianmaclarty/amulet/releases/download/%TAG%/builds-darwin.zip
curl -L -O https://github.com/ianmaclarty/amulet/releases/download/%TAG%/builds-win32.zip
curl -L -O https://github.com/ianmaclarty/amulet/releases/download/%TAG%/builds-linux.zip
Expand Down

0 comments on commit 90c8d13

Please sign in to comment.