Hisham,
There is a way to specify dependencies versions and custom rocks servers?
That was my problem at the time I was writing Moonbox (at least one of
them), I din't have a way to distribute which rocks versions (with custom
servers sometimes) my app needed to run properly.
Regards
~kernelp4nic
On Wed, May 28, 2014 at 3:24 PM, Hisham <h...@hisham.hm> wrote:
> On 28 May 2014 06:20, Kevin KIN-FOO <kkin...@sierrawireless.com> wrote:
> > Le mar. 27 mai 2014 23:27:20 CEST, Ignacio Burgueño a écrit :
> >> I don't know what pip is (sorry, I didn't read the link you posted)
> >> but from what you say, maybe Moonbox does what you need?
> >>
> >> https://github.com/kernelp4nic/moonbox
> >>
> >> You write a file declaring which rocks to install.
> >
> > Hi Ignacio,
> >
> > Pip is basically Vert [1] for Python.
> > So far, unlike Pip, Vert does not use requirement files yet. It uses
> > plain luarocks.
> > I thought I would be smarter to add an option to `luarocks install`
> > directly.
> > Several package managers did it, such as pip, nmp and bower.
>
> So, if I follow, it's a way for specifying a set of rocks and
> installing them in an isolated directory. If that's so, I think
> LuaRocks can already do this, in a slightly clumsy manner, using an
> empty rockspec as the requirements file, plus the --tree and
> --deps-mode=one options. Check this out:
>
> $ cd
> $ mkdir isolated
> $ cd isolated
> $ echo 'package="myenv"; version="1.0-1"; source={url=".";dir="."};
> dependencies={"luasocket", "ansicolors"}; build={type="none"}' >
> myenv-1.0-1.rockspec
> $ luarocks install ./myenv-1.0-1.rockspec --tree=$PWD --deps-mode=one
>
> -- Hisham
>
>
> ------------------------------------------------------------------------------
> Time is money. Stop wasting it! Get your web API in 5 minutes.
> www.restlet.com/download
> http://p.sf.net/sfu/restlet
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
------------------------------------------------------------------------------
Time is money. Stop wasting it! Get your web API in 5 minutes.
www.restlet.com/download
http://p.sf.net/sfu/restlet
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers