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+removethis@s-ol.nu>2025-03-02 14:24:49 +0000
commit9aa2ca76fa5b5b6454e93f0d596d684cbe969825 (patch)
tree1187930170de8e5112c7cb0a66a31603a8be32bc /dist/win/wrappers/lua/lua.bat
parentupdate featured video (diff)
downloadalive-9aa2ca76fa5b5b6454e93f0d596d684cbe969825.tar.gz
alive-9aa2ca76fa5b5b6454e93f0d596d684cbe969825.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 %*