> -----Original Message----- > From: Tom N Harris [mailto:tellia...@whoopdedo.org] > Sent: zondag 26 januari 2014 21:26 > To: luarocks-developers@lists.sourceforge.net > Subject: Re: [Luarocks-developers] variables for rockspec > > On Sunday, January 26, 2014 08:37:54 AM Thijs Schreijer wrote: > > > -----Original Message----- > > > This obvoiously always fetches the `master` branch. > > > > > > Question: is there a way I could set this up so I could pass the > > > name of the branch on the luarocks command line? > > > > No response, so I guess is not available now. I could create a patch for > it. > > I don't think it makes sense for a rock with the same name and version to > install two different things depending on how it was invoked. Rockspecs are > supposed to be a snapshot of the software. The solution is to create > different rockspecs for different branches. > > -- > tom <tellia...@whoopdedo.org> >
Yes, for published rocks. No, for SCM rockspecs. While testing stuff on a different platform it would allow me to fetch/build/install a development branch with a single command. I don't want to burden Hisham with a new rockspec for each development branch. Or am I missing something obvious? (again?) Thijs ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Luarocks-developers mailing list Luarocks-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/luarocks-developers