diff options
author | Hisham <hisham@gobolinux.org> | 2016-06-30 01:15:01 -0300 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-06-30 01:15:01 -0300 |
commit | f2beb5ee1fd2c54d59a43f4f2a8fe0f7a1701daa (patch) | |
tree | 46f958aa7efb4d6b31612178026228ba49e612f5 /install.bat | |
parent | 6b38323d10743c83e377d9be2fa734a3a3d5a300 (diff) | |
download | luarocks-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.bat | 2 |
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 | ||
8 | vars.PREFIX = nil | 8 | vars.PREFIX = nil |
9 | vars.VERSION = "2.2" | 9 | vars.VERSION = "3.0" |
10 | vars.SYSCONFDIR = nil | 10 | vars.SYSCONFDIR = nil |
11 | vars.SYSCONFFORCE = nil | 11 | vars.SYSCONFFORCE = nil |
12 | vars.CONFBACKUPDIR = nil | 12 | vars.CONFBACKUPDIR = nil |