On 29 March 2013 05:23, Wouter Scherphof <[email protected]> wrote:
> At the risk of maybe reopening an old discussion, I wonder:
>
> How would you feel about installing rocks locally within each project, so
> that different projects' dependencies can't interfere, and each project
> self-contains all of its dependencies?

That is supported, by use of the --tree and the --deps-mode=one flags.

(See http://www.luarocks.org/en/luarocks for a description of --deps-mode)

> I mean: each project should contain its own rocks_tree, and it should be the
> default tree for installs. When loading rocks, the tree should be sought in
> the current directory, and if not found, one directory up towards the root,
> and so on.

The installation package for Sputnik ( http://spu.tnik.org ) does
exactly that; sputnik plugins are private rocks.

-- Hisham
http://hisham.hm/

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Luarocks-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to