diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-17 14:25:51 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-17 14:25:51 -0500 |
commit | a8c1e3d6987cb1b9faa4a85e1b6736f5ab289bd9 (patch) | |
tree | 07d5cec6418544696496e1fc07a372eb4a862bca /config-5.1.lua | |
parent | 50ad746cfae5cc96c1352dfa7d06754fcccf41df (diff) | |
download | lua4win-dist-lua-a8c1e3d6987cb1b9faa4a85e1b6736f5ab289bd9.tar.gz lua4win-dist-lua-a8c1e3d6987cb1b9faa4a85e1b6736f5ab289bd9.tar.bz2 lua4win-dist-lua-a8c1e3d6987cb1b9faa4a85e1b6736f5ab289bd9.zip |
Add our rock servers and a system-wide rock tree
Diffstat (limited to 'config-5.1.lua')
-rw-r--r-- | config-5.1.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config-5.1.lua b/config-5.1.lua new file mode 100644 index 0000000..a24aa83 --- /dev/null +++ b/config-5.1.lua | |||
@@ -0,0 +1,19 @@ | |||
1 | |||
2 | rocks_servers = { | ||
3 | { | ||
4 | "http://lua4.win", | ||
5 | "https://luarocks.org", | ||
6 | "https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/", | ||
7 | "https://loadk.com/luarocks/" | ||
8 | } | ||
9 | } | ||
10 | rocks_trees = { | ||
11 | { | ||
12 | name = "system", | ||
13 | root = os_getenv("LUAROCKS_SYSCONFDIR"):gsub("config","luarocks") | ||
14 | }, | ||
15 | { | ||
16 | name = "user", | ||
17 | root = home .. "\\luarocks" | ||
18 | } | ||
19 | } | ||