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:
parent
d3a2fa1e9a
commit
915012766e
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user