aboutsummaryrefslogtreecommitdiffstats
path: root/dist/win/wrappers/lua
diff options
context:
space:
mode:
Diffstat (limited to 'dist/win/wrappers/lua')
-rw-r--r--dist/win/wrappers/lua/lua.bat7
-rw-r--r--dist/win/wrappers/lua/luarocks.bat5
-rw-r--r--dist/win/wrappers/lua/luarocks.config.lua0
3 files changed, 12 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 %*
diff --git a/dist/win/wrappers/lua/luarocks.bat b/dist/win/wrappers/lua/luarocks.bat
new file mode 100644
index 0000000..46a8dbd
--- /dev/null
+++ b/dist/win/wrappers/lua/luarocks.bat
@@ -0,0 +1,5 @@
+@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 %*
diff --git a/dist/win/wrappers/lua/luarocks.config.lua b/dist/win/wrappers/lua/luarocks.config.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/dist/win/wrappers/lua/luarocks.config.lua