Welcome to mirror list, hosted at ThFree Co, Russian Federation.

luarocks « bin « src - github.com/torch/luajit-rocks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d2f3c220c101b5f303c45ac86870279d237dde70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env lua

-- this should be loaded first.
local cfg = require("luarocks.cfg")

local loader = require("luarocks.loader")
local command_line = require("luarocks.command_line")

program_description = "LuaRocks main command-line interface"

commands = {
   help = "luarocks.help",
   pack = "luarocks.pack",
   unpack = "luarocks.unpack",
   build = "luarocks.build",
   install = "luarocks.install",
   search = "luarocks.search",
   list = "luarocks.list",
   remove = "luarocks.remove",
   make = "luarocks.make",
   download = "luarocks.download",
   path = "luarocks.path_cmd",
   show = "luarocks.show",
   new_version = "luarocks.new_version",
   lint = "luarocks.lint",
   write_rockspec = "luarocks.write_rockspec",
   purge = "luarocks.purge",
   doc = "luarocks.doc",
   upload = "luarocks.upload",
}

command_line.run_command(...)