blob: bb1be40a48ec5c9ee5bad2f6833293f970eb7d9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/Programs/Lua/5.1.5/bin/lua
package.path = [[/Users/hisham/luarocks/prefix-5.1/share/lua/5.1/?.lua;]]..package.path
-- 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(...)
|