[erlang-questions] Rebar eunit selective dependency exclusion in rebar.config?

Zhemzhitsky Sergey Sergey_Zhemzhitsky@REDACTED
Mon Apr 16 16:28:05 CEST 2012


Hello Tim,

Thanks for the tips.

Best Regards,
Sergey 


-----Original Message-----
From: Tim Watson [mailto:watson.timothy@REDACTED] 
Sent: Monday, April 16, 2012 6:22 PM
To: Zhemzhitsky Sergey
Cc: erlang-questions@REDACTED; rebar@REDACTED
Subject: Re: [erlang-questions] Rebar eunit selective dependency exclusion in rebar.config?

I don't think so, but you should really try posting to the rebar mailing list to be sure.

You could also try https://github.com/hyperthunk/rebar_skip_deps if you like, though it may interfere with other commands unless used
judiciously: YMMV.

2012/4/16 Zhemzhitsky Sergey <Sergey_Zhemzhitsky@REDACTED>:
> Hi guys,
>
>
>
> I’m currently trying to integrate eunit into my build process which is 
> implemented with rebar.
>
> I have a number of dependencies which I don’t like to be under tests, 
> so I’m wondering how to exclude these deps in rebar.config?
>
>
>
> I’ve already found that it’s possible to run rebar using the following
> commands:
>
>
>
> ./rebar eunit app=app_name
>
> ./rebar eunit skip_app=app_name
>
> ./rebar eunit skip_deps=true
>
>
>
> However I’d like to specify dependencies under test in rebar.config. 
> Is it possible with current version of rebar?
>
>
>
> Best Regards,
>
> Sergey
>
>
>
> _______________________________________________________
>
>
>
> The information contained in this message may be privileged and conf 
> idential and protected from disclosure. If you are not the original 
> intended recipient, you are hereby notified that any review, 
> retransmission, dissemination, or other use of, or taking of any 
> action in reliance upon, this information is prohibited. If you have 
> received this communication in error, please notify the sender 
> immediately by replying to this message and delete it from your 
> computer. Thank you for your cooperation. Troika Dialog, Russia.
>
> If you need assistance please contact our Contact Center (+7495) 258 
> 0500 or go to www.troika.ru/eng/Contacts/system.wbp
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list