Add Meck dependency when building for development

This allows writing tests with mock functions.

Fixes #439
This commit is contained in:
Mickaël Rémond 2015-03-07 12:44:17 +01:00
parent d3a2fa1e9a
commit 915012766e
1 changed files with 2 additions and 0 deletions

View File

@ -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),