diff options
author | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-04-01 17:11:57 +0000 |
---|---|---|
committer | hisham <hisham@9ca3f7c1-7366-0410-b1a3-b5c78f85698c> | 2009-04-01 17:11:57 +0000 |
commit | a88d6f2eeba2b3355c33fac6d736cf6086342f47 (patch) | |
tree | 03ebfa0ced0186e091609cf337e290580fab8c11 /src/bin | |
download | luarocks-a88d6f2eeba2b3355c33fac6d736cf6086342f47.tar.gz luarocks-a88d6f2eeba2b3355c33fac6d736cf6086342f47.tar.bz2 luarocks-a88d6f2eeba2b3355c33fac6d736cf6086342f47.zip |
Import latest revision from CVS at luaforge.netv1.0v0.5.2v0.5.1v0.5v0.4.3v0.4.2v0.4.1v0.4v0.3.2v0.3.1v0.3v0.2v0.1
git-svn-id: http://luarocks.org/svn/luarocks/trunk@1 9ca3f7c1-7366-0410-b1a3-b5c78f85698c
Diffstat (limited to 'src/bin')
-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(...) | ||