aboutsummaryrefslogtreecommitdiff
path: root/install.bat
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-06-30 01:15:01 -0300
committerHisham <hisham@gobolinux.org>2016-06-30 01:15:01 -0300
commitf2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa (patch)
tree46f958aa7efb4d6b31612178026228ba49e612f5 /install.bat
parent6b38323d10743c83e377d9be2fa734a3a3d5a300 (diff)
downloadluarocks-f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa.tar.gz
luarocks-f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa.tar.bz2
luarocks-f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa.zip
Core modules reorganization.
Isolate all modules used by luarocks.loader in a luarocks.core.* namespace. Core modules can only require other core modules, and they only use require() at the top-level chunk. In other words, after luarocks.loader is setup, package.path can be altered at will and it should not affect the ability of luarocks.loader to run, and the luarocks.loader modules should not interfere with modules loaded later. This was motivated by @robooo's GSoC work on porting the LuaRocks test suite to Lua using Busted. Busted itself runs using luarocks.loader, and we need to ensure that the modules loaded by the tests do not conflict with the ones used by luarocks.loader. A circular dependency between luarocks.manif and luarocks.search was removed by creating a separate luarocks.manif.writer module. Also, luarocks-admin commands were moved to a luarocks.admin.* namespace.
Diffstat (limited to 'install.bat')
-rw-r--r--install.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.bat b/install.bat
index dcd132ff..3deb3d14 100644
--- a/install.bat
+++ b/install.bat
@@ -6,7 +6,7 @@ local vars = {}
6 6
7 7
8vars.PREFIX = nil 8vars.PREFIX = nil
9vars.VERSION = "2.2" 9vars.VERSION = "3.0"
10vars.SYSCONFDIR = nil 10vars.SYSCONFDIR = nil
11vars.SYSCONFFORCE = nil 11vars.SYSCONFFORCE = nil
12vars.CONFBACKUPDIR = nil 12vars.CONFBACKUPDIR = nil