diff options
author | Mickaël Rémond <mremond@process-one.net> | 2015-03-07 12:44:17 +0100 |
---|---|---|
committer | Mickaël Rémond <mremond@process-one.net> | 2015-03-07 12:44:17 +0100 |
commit | 915012766e5b99f1696e3bc8a710fe2f43aaa2ef (patch) | |
tree | c01620812b91af7bc5dab57fb735c21045ed768a /rebar.config.script | |
parent | Test file can be compiled under R16 (diff) |
Add Meck dependency when building for development
This allows writing tests with mock functions.
Fixes #439
Diffstat (limited to 'rebar.config.script')
-rw-r--r-- | rebar.config.script | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rebar.config.script b/rebar.config.script index bf00908e..f7846c0f 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), |