diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2019-06-03 15:59:29 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-06-03 18:48:42 -0300 |
commit | daf7e7e5f5ede8c3a5a00e2edaf8246209712781 (patch) | |
tree | b6435881ad91881de672f0281e59e0913d51c576 /win32 | |
parent | f7eb8df5363430a2b5ac288da5710ff382c632fe (diff) | |
download | luarocks-daf7e7e5f5ede8c3a5a00e2edaf8246209712781.tar.gz luarocks-daf7e7e5f5ede8c3a5a00e2edaf8246209712781.tar.bz2 luarocks-daf7e7e5f5ede8c3a5a00e2edaf8246209712781.zip |
Fix and reorganize Lua version detection
Make it more robust when detecting the Lua version when working inside a
project, and hopefully make the detection logic easier to track in the
code. Reorganized code so that the `detected` table becomes internal
to the `init_config` operation and only the regular `cfg` global table
is used after that.
Includes regression tests.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions