On Fri, Sep 3, 2010 at 1:25 PM, Gunnar Zötl <[email protected]> wrote:
> Now this looks very nice :) could we have this in the main branch, please.
Ah, but I'm sure there's more we can squeeze out of this command!
It should also provide a 'commands:' line (and --commands flag) which
tells the user that a package provides an executable script. This is
all easily extractable from the manifest:
repository = {
....
lunit={
['0.5-1']={
{
modules={
['lunit-console']='lunit-console.lua',
lunit='lunit.lua'
},
commands={
lunit='lunit'
},
dependencies={},
arch='installed'
}
}
},
...
}
Here's a wilder idea.
$ luarocks search pso
OK, that fails to find any package, but it's then easy to go for a
search in the manifest for any package/version which provides this
module:
modules = {
...
pso={
'abelhas/1.0-1'
}.
...
}
(It is of course not _entirely_ obvious that abelhas provides the
module pso, after all.)
Any other features, while we have the patient open on the table?
steve d.
_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers