You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%.") then return loadfile([[/usr/local/share/lua/5.1/]] .. name:gsub([[%.]], [[/]]) .. [[.lua]]) end end)
5
+
6
+
-- Load cfg first so that the loader knows it is running inside LuaRocks
7
+
local cfg = require("luarocks.core.cfg")
8
+
9
+
local loader = require("luarocks.loader")
10
+
local cmd = require("luarocks.cmd")
11
+
12
+
local description = "LuaRocks main command-line interface"
0 commit comments