aboutsummaryrefslogtreecommitdiff
path: root/spec/init_spec.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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