summaryrefslogtreecommitdiff
path: root/spec/init_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* spec/init_spec.lua: cleanup testHisham Muhammad2019-04-091-3/+1
|
* cmd: refactor detection code and improve detection of project dirHisham Muhammad2019-04-011-1/+3
|
* write_rockspec: fix representation of Lua version dependencyHisham Muhammad2018-09-251-0/+21
| | | | | | | | The Lua version dependency specified with --lua-versions was using the internal table format. This commit ensures that it is stored in rockspecs using the string format. Includes a regression test.
* Fix: do not detect .luarocks/config-5.x.lua and lua_modules as modulesHisham Muhammad2018-08-021-1/+51
| | | | | | | | | | | | | Running luarocks init a second time after deleting the rockspec was mis-detects .luarocks/config-5.x.lua as a module, creating an entry `["luarocks.config-5.3"] = ".luarocks/config-5.3.lua"` in `build.modules`. Same problem happened with modules under `lua_modules`. This excludes `.luarocks` and `lua_modules` from module detection. Includes a regression test. Closes #847.
* Tests: add test_env.run_in_tmp utility functionGeorge Roman2018-07-241-64/+45
|
* Tests: luarocks init (#811)George Roman2018-06-051-0/+83