Mercurial > repo
comparison bin/luarocks-admin @ 1132:d137f631bad5
<GreyKnight> (cd luabuild/luarocks-2.0.12; make install)
author | HackBot |
---|---|
date | Fri, 14 Dec 2012 22:24:27 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1131:ff65dfb63263 | 1132:d137f631bad5 |
---|---|
1 #!/hackenv/bin/lua | |
2 package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path | |
3 | |
4 local command_line = require("luarocks.command_line") | |
5 | |
6 program_name = "luarocks-admin" | |
7 program_description = "LuaRocks repository administration interface" | |
8 | |
9 commands = { | |
10 } | |
11 | |
12 commands.help = require("luarocks.help") | |
13 commands.make_manifest = require("luarocks.make_manifest") | |
14 commands.add = require("luarocks.add") | |
15 commands.remove = require("luarocks.admin_remove") | |
16 commands.refresh_cache = require("luarocks.refresh_cache") | |
17 | |
18 command_line.run_command(...) |