More appveyor lua

This commit is contained in:
Linus Probert 2018-02-14 21:38:27 +01:00
parent 720e7140cb
commit 853d22c13b
1 changed files with 5 additions and 4 deletions

View File

@ -54,14 +54,15 @@ 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: | - ps: |
If (!(Test-Path -Path "c:\usr\lib\liblua53.a")) { 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") (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\lua-5.3.4_Win32_mingw4_lib.zip")
} }
- |- - |-
%DEPENDS% 7z x c:\lua-5.3.4_Win32_mingw4_lib.zip > nul %DEPENDS% 7z x "c:\lua\lua-5.3.4_Win32_mingw4_lib.zip" -o"c:\lua" > nul
%DEPENDS% copy c:\include\*.h %PREFIX%\include > nul %DEPENDS% copy c:\lua\include\*.h %PREFIX%\include > nul
%DEPENDS% copy c:\liblua53.a %PREFIX%\lib > nul %DEPENDS% copy c:\lua\liblua53.a %PREFIX%\lib > nul
build_script: build_script:
- |- - |-