Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check for cached version of luajit prior to performing full installation
  • Loading branch information
bluebird75 committed Mar 7, 2017
1 parent 18bdb48 commit 0812d23
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .appveyor/install-lua.cmd
Expand Up @@ -77,11 +77,19 @@ goto :EOF
:luajit
if NOT "%LUAENV%"=="luajit20" goto luajit21
echo Setting up LuaJIT 2.0 ...
call %~dp0install-luajit.cmd LuaJIT-2.0.4 luajit20
if NOT EXIST "luajit20\luajit.exe" (
call %~dp0install-luajit.cmd LuaJIT-2.0.4 luajit20
) else (
echo Using cached version of LuaJIT 2.0
)
set LUA=luajit20\luajit.exe
goto :EOF

:luajit21
echo Setting up LuaJIT 2.1 ...
call %~dp0install-luajit.cmd LuaJIT-2.1.0-beta2 luajit21
if NOT EXIST "luajit21\luajit.exe" (
call %~dp0install-luajit.cmd LuaJIT-2.1.0-beta2 luajit21
) else (
echo Using cached version of LuaJIT 2.1
)
set LUA=luajit21\luajit.exe

0 comments on commit 0812d23

Please sign in to comment.