Skip to content

Commit

Permalink
Add lua51-dev (.dll, .lib and include files) for installation with lua51
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 25, 2018
1 parent e56350a commit 66abe27
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .appveyor/install-lua.cmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REM https://github.com/bluebird75/luaunit/blob/80e5b37e0f3e0016dcf7dff0004a4d065cd4ee61/.appveyor/install-lua.cmd
REM based on https://github.com/bluebird75/luaunit/blob/80e5b37e0f3e0016dcf7dff0004a4d065cd4ee61/.appveyor/install-lua.cmd
REM BSD license: https://github.com/bluebird75/luaunit/blob/7382208f9e7ff433e0bf3feeb1990bcab1de9877/LICENSE.txt

REM This is a batch file to help with setting up the desired Lua environment.
Expand All @@ -11,6 +11,7 @@ set VER_53=5.3.3
set ZIP_51=lua-%VER_51%_Win32_bin.zip
set ZIP_52=lua-%VER_52%_Win32_bin.zip
set ZIP_53=lua-%VER_53%_Win32_bin.zip
set ZIP_51_DEV=lua-%VER_51%_Win32_dll15_lib.zip

:cinst
@echo off
Expand Down Expand Up @@ -39,6 +40,14 @@ if NOT EXIST "lua51\lua5.1.exe" (
) else (
echo Using cached version of Lua v5.1
)
if NOT EXIST "lua51\lua5.1.lib" (
@echo on
echo Fetching Lua_DEV v5.1 from internet
curl -fLsS -o %ZIP_51_DEV% http://sourceforge.net/projects/luabinaries/files/%VER_51%/Windows%20Libraries/Dynamic/%ZIP_51_DEV%/download
unzip -d lua51 %ZIP_51_DEV%
) else (
echo Using cached version of Lua_DEV v5.1
)
set LUA=lua51\lua5.1.exe
@echo off
goto :EOF
Expand Down

0 comments on commit 66abe27

Please sign in to comment.