aboutsummaryrefslogtreecommitdiffstats
path: root/dist/win/wrappers/lua/lua.bat
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-05-19 13:28:11 +0000
committers-ol <s-ol@users.noreply.github.com>2020-05-19 13:28:11 +0000
commit1459ebb64b3bdc8e185fcebd22293c0c002f5806 (patch)
tree81ea7a14977630f2976006ef1d93f18138d63d53 /dist/win/wrappers/lua/lua.bat
parentupdate featured video (diff)
downloadalive-1459ebb64b3bdc8e185fcebd22293c0c002f5806.tar.gz
alive-1459ebb64b3bdc8e185fcebd22293c0c002f5806.zip
once again, revamp windows distribution
Diffstat (limited to 'dist/win/wrappers/lua/lua.bat')
-rw-r--r--dist/win/wrappers/lua/lua.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/dist/win/wrappers/lua/lua.bat b/dist/win/wrappers/lua/lua.bat
new file mode 100644
index 0000000..f7fefe4
--- /dev/null
+++ b/dist/win/wrappers/lua/lua.bat
@@ -0,0 +1,7 @@
+@ECHO OFF
+SETLOCAL
+SET PR=%~dp0
+SET LUAROCKS_CONFIG=%PR%luarocks.config.lua
+%PR%bin\luarocks --lua-dir %PR% --tree %PR% LUA_INCDIR=%PR%include LUA_LIBDIR=%PR%bin path > %TMP%/_luarocks_path.bat
+call %tmp%/_luarocks_path
+%PR%bin\lua5.3 %*