-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch to LuaRocks 3 #27
base: master
Are you sure you want to change the base?
Conversation
@hishamhm mind having a look? It uses the same approach; 1 luarocks, in an enviornment with 4 lua versions (5.1 - 5.4). The enviornment is set up based on a specific compiler configuration. To make it work, I had to copy out "hardcoded.lua", and make it versioned. In the new Luarocks wrapper batch file, the Lua version is set, the matching version of hardcoded.lua is set, and the tree is forced to "system" to keep it self contained. |
If you are making wrapper batch files, it should be possible to set The |
@@ -20,8 +20,8 @@ SET DL_LUAWINMAKE=https://github.com/Tieske/luawinmake/archive/master | |||
SET LUAWINMAKE_TOPFOLDER=luawinmake-master | |||
|
|||
REM LuaRocks url and top folder name | |||
SET DL_LUAROCKS=https://github.com/keplerproject/luarocks/archive/v%LRVERSION% | |||
SET LUAROCKS_TOPFOLDER=luarocks-%LRVERSION% | |||
SET DL_LUAROCKS=http://luarocks.github.io/luarocks/releases/luarocks-%LRVERSION%-win32.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SET DL_LUAROCKS=http://luarocks.github.io/luarocks/releases/luarocks-%LRVERSION%-win32.zip | |
SET DL_LUAROCKS=https://luarocks.github.io/luarocks/releases/luarocks-%LRVERSION%-win32.zip |
fixes #15