view bin/luarocks-admin @ 7010:974c1217a5cd

<b_jonas> perl -e($o="bin/culprits-ng"); open$O,">",$o or die; print $O "#!/bin/sh\\n",q{exec hg log -l 512 --template "{desc}\\0" -- "$@" | perl -0ne \'/^<([^>]*)>/ and print"$1 "\'},"\\n"; close$O;chmod 0755,$o or die;
author HackBot
date Thu, 25 Feb 2016 07:22:49 +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(...)