25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

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

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