On Tue, May 24, 2011 at 4:16 AM, steve donovan
<[email protected]> wrote:
> Hi all,
>
> The idea of the proposed --source flag is that it overrides the
> default behaviour, which is to prefer using a precompiled rock if
> available.

That was supposed to be the distinction between the "build" and
"install" commands. To be nice to users, I made one command fall back
to the other according to the argument given, instead of returning an
error saying "use the other command", so that for example "luarocks
install foo-1-1.rockspec" actually runs "luarocks build". But if you
run "luarocks install foo" it will favor binary rocks and if you run
"luarocks build foo" it will favor source.

Right now, however, "build" installs any missing dependencies with the
"install" command, but maybe that behavior could be changed so that it
recursively calls "build" on missing dependencies. Would that be
preferrable?

-- 
-- Hisham
http://hisham.hm/

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to