view bin/luarocks-admin @ 2271:3e88cf7dab8c

<Fiora> addquote <Phantom_Hoover> Sgeo_, are you just trying to post kmcbait... * Fiora imagines a cardboard box propped up by a stick with a pile of monads inside. <elliott> Fiora: that is actually what Haskell is.
author HackBot
date Tue, 26 Feb 2013 23:01:45 +0000
parents d137f631bad5
children
line wrap: on
line source

#!/hackenv/bin/lua
package.path = [[/hackenv/share/lua/5.2//?.lua;/hackenv/share/lua/5.2//?/init.lua;]]..package.path

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")
commands.add = require("luarocks.add")
commands.remove = require("luarocks.admin_remove")
commands.refresh_cache = require("luarocks.refresh_cache")

command_line.run_command(...)