From a88d6f2eeba2b3355c33fac6d736cf6086342f47 Mon Sep 17 00:00:00 2001 From: hisham Date: Wed, 1 Apr 2009 17:11:57 +0000 Subject: Import latest revision from CVS at luaforge.net git-svn-id: http://luarocks.org/svn/luarocks/trunk@1 9ca3f7c1-7366-0410-b1a3-b5c78f85698c --- src/bin/luarocks | 19 +++++++++++++++++++ src/bin/luarocks-admin | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100755 src/bin/luarocks create mode 100755 src/bin/luarocks-admin (limited to 'src/bin') 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 @@ +#!/usr/bin/env lua + +local command_line = require("luarocks.command_line") + +program_name = "luarocks" +program_description = "LuaRocks main command-line interface" + +commands = {} +commands.help = require("luarocks.help") +commands.pack = require("luarocks.pack") +commands.unpack = require("luarocks.unpack") +commands.build = require("luarocks.build") +commands.install = require("luarocks.install") +commands.search = require("luarocks.search") +commands.list = require("luarocks.list") +commands.remove = require("luarocks.remove") +commands.make = require("luarocks.make") + +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 @@ +#!/usr/bin/env lua + +local command_line = require("luarocks.command_line") + +program_name = "luarocks-admin" +program_description = "LuaRocks repository administration interface" + +commands = { +} + +commands.help = require("luarocks.help") +commands.make_manifest = require("luarocks.make_manifest") + +command_line.run_command(...) -- cgit v1.2.3-55-g6feb