On Tue, Apr 2, 2013 at 11:15 AM, Gaspard Bucher <[email protected]> wrote:
> We could just do it like others do it: store assets besides script code.
>
I faced this issue with LDoc (which has templates and style sheets) and
solved it by making them into Lua modules that just say 'return [['. The
alternative solution is to put them in the rock directory, and give module
developers an easy way to find this. The basic principle is that something
like /usr/local/share/lua/5.1 is only meant for Lua files - each platform
has their conventions, but Unix does like to keep similar animals in
different enclosures, like any well-regulated zoo.
We do need a aolution which doesn't distort a library's structure to match
a particular packaging option. Peter D of LuaDist likes the idea of
treating help files also as assets-as-Lua as well.
------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete
for recognition, cash, and the chance to get your game on Steam.
$5K grand prize plus 10 genre and skill prizes. Submit your demo
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers