On Tue, Aug 9, 2011 at 12:07 AM, Wesley Smith <wesley.h...@gmail.com> wrote: > Can't you just deploy the templates and such in the same directory as > the module itself and perform a search for the file using Lua's > module.(c)path variables? I learned this trick from LuaDoc. It's how > they're templates are accessed.
That's an option, which may even get more elegant with package.searchpath in Lua 5.2, but I think part of the idea was to avoid adding non-module files in the module directories. -- -- Hisham http://hisham.hm/ - http://colorbleed.com.br/ ------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers