rabbitmq-erlang-client and rebar

Fyodor Yarochkin fyodor.y at armorize.com
Fri Jul 29 01:38:34 EDT 2011


Awesome, 'pre_hooks' is exactly the feature I was looking for. Thanks!


On Fri, Jul 29, 2011 at 6:19 AM, Tim Watson <watson.timothy at gmail.com> wrote:
>> Anyways, the question is:
>> what would be the best approach to deal with this problem? i.e. maybe
>> there is a way in rebar to specify some sort of 'pre-run' execution
>> hooks  in form of shell commands, which would get executed before
>> is_app_available() is called on each of the deps?
>
> Rebar has exactly this mechanism:
>
> {pre_hooks, [
>    {'check-deps', "./prefetch_rabbit"},
>    {compile, "cd deps/rabbitmq && autoconf -vif && ./configure
> --prefix=`pwd` && make install"}
> ]}.
>



More information about the rebar mailing list