On Tue, Apr 2, 2013 at 1:10 PM, Gaspard Bucher <gasp...@teti.ch> wrote:
> 1. create an "assets" sub-module
> 2. copy all js, css, png files into the folder and rename them "*.lua" so
> that luarocks can install them.
> 3. in assets, set package.loaded so that these files never get required
> or, requiring them returns a table with the content.
>
> Seems like a good solution (there's no point in getting too worried about
some mythical 'purity' here.)
We are grown up enough to know that a file's extension is no guarantee of
its contents...
------------------------------------------------------------------------------
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
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers