On Sun, May 15, 2011 at 04:36:59PM +0200, steve donovan wrote:
> E.g. something like
>
> copy_directories = {tests = {'test.lua'}, docs = {'readme.txt'}}
>
> That is, this specification first creates 'tests' and and moves the
> indicated files to it and so forth.
Some packaging systems explicitly recognise documentation (Eg, RPM
uses "%doc"). Explicitly listing documentation for the package might
allow Luarocks to do something more sensible for the target platform.
Not sure if it's particularly useful, but it's an idea.
> Oh, a little observation: builds fine on Windows, but you rely on
> luaposix to run the tests - AFAIK just for getting the timestamp for
> benchmarks.
Good point. It's used for benchmarks but it's not required by
"test.lua". There are a few things on my TODO list to reduce
unnecessary dependencies under tests/. In this case, using
socket.gettime() is probably better.
Regards,
Mark
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers