Mercurial > repo
view bin/luarocks-admin @ 11328:56b2bb1446bb
<wob_jonas> perl -e open$h,"<",($f="wisdom/font");local$/;$_=<$h>;s/ \\S+sample\\.png// or die; if (1) { open $o,">",$f;print$o $_; } print;
author | HackBot |
---|---|
date | Wed, 17 Jan 2018 21:00:31 +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(...)