Closed broma0 closed 1 year ago
@hishamhm - Please let me know if you'd like any changes on this
@Tieske - I see that you're also part of the parent project, can you help review and potentially merge this one-liner?
this would at least need a doc update here; https://github.com/lunarmodules/luacov#configuration and maybe some tests (if there are some around the config file, didn't check)
Thanks @Tieske. I just updated the README and added tests.
@broma0 the tests are failing on AppVeyor, can you fix them?
@Tieske - Classic "works on my machine" situation due to windows/linux differences in setting environment variables. It works now!
Hey @Tieske - please let me know if you'd like any more changes.
@Tieske, @hishamhm - Following up after a few weeks - is there anything I can do to help release this? I'd like to use this repo instead of my fork as soon as possible.
Thx @broma0 for your contribution!
@Tieske / @hishamhm - Would you be able to publish this (and the other recent merges) to luarocks?
On the command line, users can specify the configuration file like
luacov -c config/luacov.lua
.When loading luacov like
lua -l luacov program.lua
, however, it seems like the config file is hardcoded to.luacov
.This PR changes the default luacov file to
os.getenv("LUACOV_CONFIG") or ".luacov"
.This is similar to luarocks, which has the
LUAROCKS_CONFIG
environment variable.