diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2014-01-11 13:54:13 +0100 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2014-01-11 13:54:13 +0100 |
| commit | 1e0af10c6d824bcebb15d4d61da712911c20f168 (patch) | |
| tree | 1bf9f695a1372731700da342521fc993f0e64424 /src/bin | |
| parent | 60323b48f917e2c7495d3899a3c4bec87cd98750 (diff) | |
| parent | 17f1c5d3600fa24c670d78bc9e9931502309bf36 (diff) | |
| download | luarocks-1e0af10c6d824bcebb15d4d61da712911c20f168.tar.gz luarocks-1e0af10c6d824bcebb15d4d61da712911c20f168.tar.bz2 luarocks-1e0af10c6d824bcebb15d4d61da712911c20f168.zip | |
Merge branch 'master' of https://github.com/keplerproject/luarocks
Diffstat (limited to 'src/bin')
| -rwxr-xr-x | src/bin/luarocks | 36 | ||||
| -rwxr-xr-x | src/bin/luarocks-admin | 11 |
2 files changed, 24 insertions, 23 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks index 6ab27fa3..e9cfc349 100755 --- a/src/bin/luarocks +++ b/src/bin/luarocks | |||
| @@ -5,22 +5,24 @@ local command_line = require("luarocks.command_line") | |||
| 5 | 5 | ||
| 6 | program_description = "LuaRocks main command-line interface" | 6 | program_description = "LuaRocks main command-line interface" |
| 7 | 7 | ||
| 8 | commands = {} | 8 | commands = { |
| 9 | commands.help = require("luarocks.help") | 9 | help = "luarocks.help", |
| 10 | commands.pack = require("luarocks.pack") | 10 | pack = "luarocks.pack", |
| 11 | commands.unpack = require("luarocks.unpack") | 11 | unpack = "luarocks.unpack", |
| 12 | commands.build = require("luarocks.build") | 12 | build = "luarocks.build", |
| 13 | commands.install = require("luarocks.install") | 13 | install = "luarocks.install", |
| 14 | commands.search = require("luarocks.search") | 14 | search = "luarocks.search", |
| 15 | commands.list = require("luarocks.list") | 15 | list = "luarocks.list", |
| 16 | commands.remove = require("luarocks.remove") | 16 | remove = "luarocks.remove", |
| 17 | commands.make = require("luarocks.make") | 17 | make = "luarocks.make", |
| 18 | commands.download = require("luarocks.download") | 18 | download = "luarocks.download", |
| 19 | commands.path = require("luarocks.path") | 19 | path = "luarocks.path", |
| 20 | commands.show = require("luarocks.show") | 20 | show = "luarocks.show", |
| 21 | commands.new_version = require("luarocks.new_version") | 21 | new_version = "luarocks.new_version", |
| 22 | commands.lint = require("luarocks.lint") | 22 | lint = "luarocks.lint", |
| 23 | commands.write_rockspec = require("luarocks.write_rockspec") | 23 | write_rockspec = "luarocks.write_rockspec", |
| 24 | commands.purge = require("luarocks.purge") | 24 | purge = "luarocks.purge", |
| 25 | doc = "luarocks.doc", | ||
| 26 | } | ||
| 25 | 27 | ||
| 26 | command_line.run_command(...) | 28 | command_line.run_command(...) |
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin index 983dda87..e7f49c25 100755 --- a/src/bin/luarocks-admin +++ b/src/bin/luarocks-admin | |||
| @@ -6,12 +6,11 @@ local command_line = require("luarocks.command_line") | |||
| 6 | program_description = "LuaRocks repository administration interface" | 6 | program_description = "LuaRocks repository administration interface" |
| 7 | 7 | ||
| 8 | commands = { | 8 | commands = { |
| 9 | help = "luarocks.help", | ||
| 10 | make_manifest = "luarocks.make_manifest", | ||
| 11 | add = "luarocks.add", | ||
| 12 | remove = "luarocks.admin_remove", | ||
| 13 | refresh_cache = "luarocks.refresh_cache", | ||
| 9 | } | 14 | } |
| 10 | 15 | ||
| 11 | commands.help = require("luarocks.help") | ||
| 12 | commands.make_manifest = require("luarocks.make_manifest") | ||
| 13 | commands.add = require("luarocks.add") | ||
| 14 | commands.remove = require("luarocks.admin_remove") | ||
| 15 | commands.refresh_cache = require("luarocks.refresh_cache") | ||
| 16 | |||
| 17 | command_line.run_command(...) | 16 | command_line.run_command(...) |
