mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
* Installs luarocks WITH it's executable (easy to install other rocks if necessary) * Use Lua supplied with luarocks * Create Utils/luadocumentor.bat, which works with RELATIVE PATH ! -> Everybody can generate the doc * Updated launch files accordingly
20 lines
481 B
Lua
20 lines
481 B
Lua
#!/usr/bin/env lua
|
|
|
|
-- this should be loaded first.
|
|
local cfg = require("luarocks.cfg")
|
|
|
|
local loader = require("luarocks.loader")
|
|
local command_line = require("luarocks.command_line")
|
|
|
|
program_description = "LuaRocks repository administration interface"
|
|
|
|
commands = {
|
|
help = "luarocks.help",
|
|
make_manifest = "luarocks.make_manifest",
|
|
add = "luarocks.add",
|
|
remove = "luarocks.admin_remove",
|
|
refresh_cache = "luarocks.refresh_cache",
|
|
}
|
|
|
|
command_line.run_command(...)
|