Sometimes the structure of the archive is not LuaRocks-friendly,
especially if one is packaging someone else's tarball. The Github
directory structure is an example, README.md (or .txt) needs to be at
the top-level.
So I was wondering if this feature would be sufficiently useful for inclusion:
build.copy_files = { doc = 'README.md', test = 'tests/test.lua' }
where the keys are the intended target directories, which would not be
part of the archive. It could be used as well as copy_directories in
its own sense, it's not exclusive.
Useful also for packaging modules from prolific authors like lhf who
just give you a readme and a test file - particularly so if there's no
helpful website.
I can prototype this feature if there is sufficient interest.
steve d.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers