More compile scripts

This commit is contained in:
Linus Probert 2017-12-20 21:24:25 +01:00
parent cd3985686d
commit b46f9e0136
1 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@ version: '{branch}.{build}'
os: Visual Studio 2015 os: Visual Studio 2015
clone_depth: 1 clone_depth: 1
cache: cache:
- c:\freshmingw
- c:\usr - c:\usr
- c:\lua
before_build: before_build:
- |- - |-
set PREFIX=C:\usr set PREFIX=C:\usr
@ -45,11 +45,11 @@ before_build:
%DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\bin\*.dll %PREFIX%\lib > nul %DEPENDS% copy SDL2_ttf-2.0.14\%ARCH%\bin\*.dll %PREFIX%\lib > nul
# Lua # Lua
- ps: (new-object System.Net.WebClient).Downloadfile("https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_vc14_lib.zip/download", "lua-5.3.4_Win32_vc14_lib.zip") - ps: (new-object System.Net.WebClient).Downloadfile("https://sourceforge.net/projects/luabinaries/files/5.3.4/Windows%20Libraries/Static/lua-5.3.4_Win32_vc14_lib.zip/download", "C:\lua\lua-5.3.4_Win32_vc14_lib.zip")
- |- - |-
%DEPENDS% 7z x lua-5.3.4_Win32_vc14_lib.zip > nul %DEPENDS% 7z x C:\lua\lua-5.3.4_Win32_vc14_lib.zip -o"C:\lua" > nul
%DEPENDS% copy include\* %PREFIX%\include > nul %DEPENDS% copy C:\lua\include\* %PREFIX%\include > nul
%DEPENDS% copy lua53.lib %PREFIX%\lib > nul %DEPENDS% copy C:\lua\lua53.lib %PREFIX%\lib > nul
build_script: build_script:
- |- - |-