From 8b044c1ec521f4b04e3c3168bf432a3418b9514b Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Wed, 14 Feb 2018 21:21:12 +0100 Subject: [PATCH] Appveyor again --- .appveyor.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 4f9f55a..da66a19 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -54,8 +54,11 @@ before_build: %DEPENDS% copy SDL2_mixer-2.0.2\%ARCH%\bin\*.dll %PREFIX%\lib > nul # 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% copy include\*.h %PREFIX%\include > nul %DEPENDS% copy liblua53.a %PREFIX%\lib > nul