lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Hi there !  
> 
> How do you guys do it when you have an installed version of a library and want to test the currently developed code ? With lua 5.1, just running the tests in the project works because the first element in package.path is "./?.lua". In 5.2, this is the last element.

How about something like this:
	env LUA_INIT_5_2='package.path="./?.lua;"..package.path' lua test.lua