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:
authorBadlop <badlop@process-one.net>2022-02-23 23:52:09 +0300
committerBadlop <badlop@process-one.net>2022-02-24 03:02:55 +0300
commitde8abc15a89224bdabeb4b817759d2d6c94de9ea (patch)
tree3ddbe1649652611fc95e1d3f87bcf47dcf4c8934 /rebar.config
parent265e0610a3aafcda9954388282deb227887f1618 (diff)
Use jiffy 1.1.0 when erlang < 20 because it doesn't have string:split/2
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config7
1 files changed, 6 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index b0bc0412c..eb51d1295 100644
--- a/rebar.config
+++ b/rebar.config
@@ -37,7 +37,12 @@
{fast_xml, ".*", {git, "https://github.com/processone/fast_xml", {tag, "1.1.48"}}},
{fast_yaml, ".*", {git, "https://github.com/processone/fast_yaml", {tag, "1.0.32"}}},
{idna, ".*", {git, "https://github.com/benoitc/erlang-idna", {tag, "6.0.0"}}},
- {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.1"}}},
+ {if_version_below, "20",
+ {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.0"}}}
+ },
+ {if_version_above, "19",
+ {jiffy, ".*", {git, "https://github.com/davisp/jiffy", {tag, "1.1.1"}}}
+ },
{jose, ".*", {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
{if_version_below, "22",
{lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}}