> 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.

I see.  Still I don't really understand the motivation behind that
concern because for the module to operate successfully it needs those
files and they are in fact a vital part of the module itself.  You can
always just put the text in those files in a giant string and require
them just like a normal module.  Lua doesn't have a canonical list of
directories to search for non-module data, so in my mind it would just
add confusion to put such files in a separate location from the
module.

wes

------------------------------------------------------------------------------
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

Reply via email to