NPM (Node.js package manager) handles this by having a "devDependencies"
array, which lists dependencies only needed if actually modifying the
module (such as a test suite.) Perhaps something similar could be used?
On Nov 27, 2013 11:23 AM, "Tiago Salmito" <ti...@salmito.com> wrote:
> why not just using an different rockspec for the tests with its desired
> dependencies?
>
> ____________________________________
> Nietzsche: God is dead.
> God: Nietzsche is dead.
> ____________________________________
> Tiago L. Salmito
> http://salmito.com
> tiago[at]salmito[dot]com
>
>
> On Wed, Nov 27, 2013 at 11:56 AM, Thijs Schreijer <th...@thijsschreijer.nl
> > wrote:
>
>>
>> > -----Original Message-----
>> > From: Justin Cormack [mailto:jus...@specialbusservice.com]
>> > Sent: woensdag 27 november 2013 14:05
>> > To: luarocks-developers@lists.sourceforge.net
>> > Subject: Re: [Luarocks-developers] extensions: tests
>> >
>> > On Wed, Nov 27, 2013 at 11:59 AM, Thijs Schreijer
>> > <th...@thijsschreijer.nl> wrote:
>> > >> > We were discussing about how various other dependencies could be
>> > added
>> > >> > to a future updated rockspec format:
>> > >> > - 'build-time' dependencies. E.g. someone uses Lake to build a
>> > module
>> > >> > - 'test-time' dependencies.
>> > >>
>> > >> Yes build time is a nice to have.
>> > >
>> > > that would mean an extra rocktree to prevent the system tree from
>> being
>> > 'polluted' by test dependencies
>> >
>> > I don't think I would mind if test deps were installed when I ran rock
>> > test package.
>>
>> If everything works the way it should, then I also wouldn't mind, but
>> something tells me this is begging for trouble. So I would rather stay
>> clear of it and keep it separate.
>>
>> > Its more of a problem if something has non Lua test
>> > deps, eg if the test suite needs perl or something. But that is kind
>> > of out of scope.
>> >
>> > Justin
>> >
>> >
>> --------------------------------------------------------------------------
>> > ----
>> > Rapidly troubleshoot problems before they affect your business. Most IT
>> > organizations don't have a clear picture of how application performance
>> > affects their revenue. With AppDynamics, you get 100% visibility into
>> your
>> > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of
>> AppDynamics
>> > Pro!
>> >
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktr
>> > k
>> > _______________________________________________
>> > Luarocks-developers mailing list
>> > Luarocks-developers@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Luarocks-developers mailing list
>> Luarocks-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>>
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Luarocks-developers mailing list
> Luarocks-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/luarocks-developers
>
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers