diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2019-03-14 23:18:53 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2019-04-03 10:44:51 -0300 |
commit | a21fcdc434f7135b3be215bbab5ad08f1873d300 (patch) | |
tree | fba8bd24af0e34804954455acb567467d8586b13 /src/bin | |
parent | 9c03508958522b2beeaa2aa289ad82e444d902d8 (diff) | |
download | luarocks-a21fcdc434f7135b3be215bbab5ad08f1873d300.tar.gz luarocks-a21fcdc434f7135b3be215bbab5ad08f1873d300.tar.bz2 luarocks-a21fcdc434f7135b3be215bbab5ad08f1873d300.zip |
config: add modes for reading, writing and unsetting individual entries
Includes special config keys `lua_dir` and `lua_version`,
which are essentially persistent versions of --lua-dir
and --lua-version:
* `lua_dir` writes a number of LUA_* variables and
cfg.lua_interpreter in the current scope's config file.
* `lua_version` writes default-lua-version.lua to the
given scope.
Also deprecates the "flag" versions for various getters:
* `--lua-incdir`: use `luarocks config variables.LUA_INCDIR`
* `--lua-libdir`: use `luarocks config variables.LUA_LIBDIR`
* `--lua-ver`: use `luarocks config lua_version`
* `--system-config`: use `luarocks config config_files.system.file`
* `--user-config`: use `luarocks config config_files.user.file`
* `--rock-trees`: use `luarocks config rocks_trees`
Diffstat (limited to 'src/bin')
0 files changed, 0 insertions, 0 deletions