From 9aa2ca76fa5b5b6454e93f0d596d684cbe969825 Mon Sep 17 00:00:00 2001 From: s-ol Date: Tue, 19 May 2020 15:28:11 +0200 Subject: once again, revamp windows distribution --- dist/win/wrappers/lua/lua.bat | 7 +++++++ dist/win/wrappers/lua/luarocks.bat | 5 +++++ dist/win/wrappers/lua/luarocks.config.lua | 0 3 files changed, 12 insertions(+) create mode 100644 dist/win/wrappers/lua/lua.bat create mode 100644 dist/win/wrappers/lua/luarocks.bat create mode 100644 dist/win/wrappers/lua/luarocks.config.lua (limited to 'dist/win/wrappers/lua') 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 -- cgit v1.2.3