Mercurial > repo
comparison bin/luarocks @ 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" | |
7 program_description = "LuaRocks main command-line interface" | |
8 | |
9 commands = {} | |
10 commands.help = require("luarocks.help") | |
11 commands.pack = require("luarocks.pack") | |
12 commands.unpack = require("luarocks.unpack") | |
13 commands.build = require("luarocks.build") | |
14 commands.install = require("luarocks.install") | |
15 commands.search = require("luarocks.search") | |
16 commands.list = require("luarocks.list") | |
17 commands.remove = require("luarocks.remove") | |
18 commands.make = require("luarocks.make") | |
19 commands.download = require("luarocks.download") | |
20 commands.path = require("luarocks.path") | |
21 commands.show = require("luarocks.show") | |
22 commands.new_version = require("luarocks.new_version") | |
23 commands.lint = require("luarocks.lint") | |
24 commands.purge = require("luarocks.purge") | |
25 | |
26 command_line.run_command(...) |