Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-07-06 21:10:35 +0400
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2013-07-06 21:10:51 +0400
commita302af77703d66a440461b929899b4ac0dd1c55b (patch)
treef36a66960c2696234996500d6c5bc01b38a7ce34 /rebar.config.script
parent0aca3a4585a8f2308f22f74536bd775396fcaa17 (diff)
Do not build p1_logger if lager is enabled
Diffstat (limited to 'rebar.config.script')
-rw-r--r--rebar.config.script5
1 files changed, 3 insertions, 2 deletions
diff --git a/rebar.config.script b/rebar.config.script
index 42ad6542e..27029020a 100644
--- a/rebar.config.script
+++ b/rebar.config.script
@@ -52,8 +52,7 @@ SrcDirs = lists:foldl(
Acc
end, [], Cfg),
-Deps = [{p1_logger, ".*", {git, "git://github.com/processone/p1_logger"}},
- {p1_cache_tab, ".*", {git, "git://github.com/processone/cache_tab"}},
+Deps = [{p1_cache_tab, ".*", {git, "git://github.com/processone/cache_tab"}},
{p1_tls, ".*", {git, "git://github.com/processone/tls"}},
{p1_stringprep, ".*", {git, "git://github.com/processone/stringprep"}},
{p1_xml, ".*", {git, "git://github.com/processone/xml"}},
@@ -98,6 +97,8 @@ CfgDeps = lists:flatmap(
{lhttpc, ".*", {git, "git://github.com/esl/lhttpc"}}];
({lager, true}) ->
[{lager, ".*", {git, "git://github.com/basho/lager"}}];
+ ({lager, false}) ->
+ [{p1_logger, ".*", {git, "git://github.com/processone/p1_logger"}}];
(_) ->
[]
end, Cfg),