[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: testing uninstalled code (lua 5.2 path)
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 10 Apr 2013 11:31:13 -0300
> 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