From 915012766e5b99f1696e3bc8a710fe2f43aaa2ef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mickae=CC=88l=20Re=CC=81mond?= Date: Sat, 7 Mar 2015 12:44:17 +0100 Subject: [PATCH] Add Meck dependency when building for development This allows writing tests with mock functions. Fixes #439 --- rebar.config.script | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebar.config.script b/rebar.config.script index bf00908e8..f7846c0fa 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -104,6 +104,8 @@ CfgDeps = lists:flatmap( [{lager, ".*", {git, "git://github.com/basho/lager"}}]; ({lager, false}) -> [{p1_logger, ".*", {git, "git://github.com/processone/p1_logger"}}]; + ({tools, true}) -> + [{meck, "0.*", {git, "https://github.com/eproxus/meck"}}]; (_) -> [] end, Cfg), -- 2.40.0