diff options
Diffstat (limited to '')
| -rwxr-xr-x | src/bin/luarocks | 19 | ||||
| -rwxr-xr-x | src/bin/luarocks-admin | 14 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/bin/luarocks b/src/bin/luarocks new file mode 100755 index 00000000..8812ecc8 --- /dev/null +++ b/src/bin/luarocks | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | #!/usr/bin/env lua | ||
| 2 | |||
| 3 | local command_line = require("luarocks.command_line") | ||
| 4 | |||
| 5 | program_name = "luarocks" | ||
| 6 | program_description = "LuaRocks main command-line interface" | ||
| 7 | |||
| 8 | commands = {} | ||
| 9 | commands.help = require("luarocks.help") | ||
| 10 | commands.pack = require("luarocks.pack") | ||
| 11 | commands.unpack = require("luarocks.unpack") | ||
| 12 | commands.build = require("luarocks.build") | ||
| 13 | commands.install = require("luarocks.install") | ||
| 14 | commands.search = require("luarocks.search") | ||
| 15 | commands.list = require("luarocks.list") | ||
| 16 | commands.remove = require("luarocks.remove") | ||
| 17 | commands.make = require("luarocks.make") | ||
| 18 | |||
| 19 | command_line.run_command(...) | ||
diff --git a/src/bin/luarocks-admin b/src/bin/luarocks-admin new file mode 100755 index 00000000..826597f6 --- /dev/null +++ b/src/bin/luarocks-admin | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #!/usr/bin/env lua | ||
| 2 | |||
| 3 | local command_line = require("luarocks.command_line") | ||
| 4 | |||
| 5 | program_name = "luarocks-admin" | ||
| 6 | program_description = "LuaRocks repository administration interface" | ||
| 7 | |||
| 8 | commands = { | ||
| 9 | } | ||
| 10 | |||
| 11 | commands.help = require("luarocks.help") | ||
| 12 | commands.make_manifest = require("luarocks.make_manifest") | ||
| 13 | |||
| 14 | command_line.run_command(...) | ||
