mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
This is an important refactor of the way documentation generation works
* 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
This commit is contained in:
33
Utils/luarocks/luarocks.lua
Normal file
33
Utils/luarocks/luarocks.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
#!/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 main command-line interface"
|
||||
|
||||
commands = {
|
||||
help = "luarocks.help",
|
||||
pack = "luarocks.pack",
|
||||
unpack = "luarocks.unpack",
|
||||
build = "luarocks.build",
|
||||
install = "luarocks.install",
|
||||
search = "luarocks.search",
|
||||
list = "luarocks.list",
|
||||
remove = "luarocks.remove",
|
||||
make = "luarocks.make",
|
||||
download = "luarocks.download",
|
||||
path = "luarocks.path_cmd",
|
||||
show = "luarocks.show",
|
||||
new_version = "luarocks.new_version",
|
||||
lint = "luarocks.lint",
|
||||
write_rockspec = "luarocks.write_rockspec",
|
||||
purge = "luarocks.purge",
|
||||
doc = "luarocks.doc",
|
||||
upload = "luarocks.upload",
|
||||
config = "luarocks.config_cmd",
|
||||
}
|
||||
|
||||
command_line.run_command(...)
|
||||
Reference in New Issue
Block a user