view bin/luarocks @ 1762:ac79507c118d

<Jafet> echo -e \'#!/bin/sh\\ntopic=$(echo "$1" | tr A-Z a-z | sed "s/ *$//")\\n([ "$topic" = "ngevd" && -e wisdom/ngevd ] && cat /dev/urandom; exit 0; ) || [ -e "wisdom/$topic" ] || { echo "$1? \xc2\xaf\\(\xc2\xb0_o)/\xc2\xaf"; exit 1; }\\ncat "wisdom/$topic"\' > bin/q
author HackBot
date Fri, 25 Jan 2013 13:13:51 +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"
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")
commands.download = require("luarocks.download")
commands.path = require("luarocks.path")
commands.show = require("luarocks.show")
commands.new_version = require("luarocks.new_version")
commands.lint = require("luarocks.lint")
commands.purge = require("luarocks.purge")

command_line.run_command(...)