On Mon, Oct 11, 2010 at 8:35 AM, steve donovan
<[email protected]> wrote:
> I would rather propose that there is a single top-level table:
>
> meta = {
> -- anything!
> }
Actually, let's make it simple - it shall be a simple string. Then you
can put arbitrary stuff in a multi-line string and do your own
validation.
meta = [[
format = '1.0'
names = { ... }
]]
To enable this, open up luarocks/type_check.lua and add after this
line (after 9)
rockspec_types = {
the following line:
meta = "string",
steve d.
PS. thinking about the luarocks --path $PATH make it occurs to me that
you can bash your way to a solution by writing a script that runs a
command in another directory.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers