Appveyor again

This commit is contained in:
Linus Probert 2018-02-14 21:21:12 +01:00
parent 0d1699fc12
commit 8b044c1ec5
1 changed files with 4 additions and 1 deletions

View File

@ -54,8 +54,11 @@ before_build:
%DEPENDS% copy SDL2_mixer-2.0.2\%ARCH%\bin\*.dll %PREFIX%\lib > nul %DEPENDS% copy SDL2_mixer-2.0.2\%ARCH%\bin\*.dll %PREFIX%\lib > nul
# Lua # Lua
- ps: |
If (!(Test-Path -Path "c:\usr\lib\liblua53.a")) {
(New-Object Net.WebClient).DownloadFile("https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_mingw4_lib.zip/download", "c:\lua-5.3.4_Win32_mingw4_lib.zip")
}
- |- - |-
%DEPENDS% appveyor DownloadFile https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_mingw4_lib.zip/download
%DEPENDS% 7z x lua-5.3.4_Win32_mingw4_lib.zip" > nul %DEPENDS% 7z x lua-5.3.4_Win32_mingw4_lib.zip" > nul
%DEPENDS% copy include\*.h %PREFIX%\include > nul %DEPENDS% copy include\*.h %PREFIX%\include > nul
%DEPENDS% copy liblua53.a %PREFIX%\lib > nul %DEPENDS% copy liblua53.a %PREFIX%\lib > nul