Skip to content

LuaRocks updater

Pre-release
Pre-release
Compare
Choose a tag to compare
@rjpcomputing rjpcomputing released this 08 Mar 16:35
· 5 commits to master since this release

Steps:

  1. Install LuaForWindows
  2. In a temp location, unzip http://keplerproject.github.io/luarocks/releases/luarocks-2.2.2-win32.zip
  3. In same location, unzip attached lfw_luarocks-2.2.2-win32.zip
  4. In same location, open a command prompt
  • if you want to install rocks, make it a "Visual Studio Command Prompt"
  • make sure LUA_DEV environment var set correctly
  • will probably need to open command prompt as Administrator
  • admin rights are typically need to write to "Program Files"
    5) Run lfw_install.bat
  • this "manually" installs 2.2.2 in the LfW directory
    6) Optionally run lfw_update_rocks.bat
  • this will try to install (get, compile, deploy) rocks for a lot of modules
  • it uses the list from https://code.google.com/p/luaforwindows/
  • A LOT of these will fail
  • it uses the "popular" list from https://luarocks.org/
  • A FEW of these will fail
  • in the end you should have 40-50 modules installed as "rocks"
  • it does some cleanup of old stuff if new installed