diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index 59a17754..a96d610f 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -32,7 +32,7 @@ end | |||
32 | 32 | ||
33 | cfg.site_config = site_config | 33 | cfg.site_config = site_config |
34 | 34 | ||
35 | cfg.program_version = "2.1.2" | 35 | cfg.program_version = "2.2.0beta1" |
36 | cfg.major_version = cfg.program_version:match("([^.]%.[^.])") | 36 | cfg.major_version = cfg.program_version:match("([^.]%.[^.])") |
37 | 37 | ||
38 | local persist = require("luarocks.persist") | 38 | local persist = require("luarocks.persist") |
@@ -214,14 +214,17 @@ local defaults = { | |||
214 | 214 | ||
215 | rocks_servers = { | 215 | rocks_servers = { |
216 | { | 216 | { |
217 | "http://www.luarocks.org/repositories/rocks", | 217 | "http://rocks.moonscript.org", |
218 | "http://luarocks.giga.puc-rio.br/", | 218 | "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/", |
219 | "http://luafr.org/luarocks/rocks", | ||
220 | "http://liblua.so/luarocks/repositories/rocks", | ||
221 | "http://luarocks.logiceditor.com/rocks", | ||
222 | } | 219 | } |
223 | }, | 220 | }, |
224 | disabled_servers = {}, | 221 | disabled_servers = {}, |
222 | |||
223 | upload = { | ||
224 | server = "rocks.moonscript.org", | ||
225 | tool_version = "0.0.1", | ||
226 | api_version = "1", | ||
227 | }, | ||
225 | 228 | ||
226 | lua_extension = "lua", | 229 | lua_extension = "lua", |
227 | lua_interpreter = site_config.LUA_INTERPRETER or "lua", | 230 | lua_interpreter = site_config.LUA_INTERPRETER or "lua", |