Closed moteus closed 9 years ago
Do you mean here? If so, wouldn't it be better to do that in the test script instead? Like:
package.path = "./?.lua;./?/init.lua;" .. package.path
package.cpath = "./?.dll;" .. package.cpath
This seems specific enough to no be set as default in the install scripts.
Lua by default has this path. Also after install luarocks on *nix this path also exists. So to constancy I think this is also exists on Windows as well.
Oh, I see. I presume that calls to require in your test code are failing.
Please add current path to search paths of Lua modules
LUA_PATH=".\?.lua;.\?\init.lua"
LUA_CPATH=".\?.dll"