summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-01-04 21:46:40 +0100
committerBadlop <badlop@process-one.net>2022-01-04 21:56:31 +0100
commit79ddde3040555b7fa656e38d221fdee11b90df54 (patch)
tree14f7d1742d6602954983d683ff1f0926fad6f923 /rebar.config
parentUpdate Luerl to 1.0.0, now available in Hex.pm (rvirding/luerl#142) (diff)
Workaround to support rebar2 git tag "1.0" and rebar3 hex version "1.0.0"
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config8
1 files changed, 7 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index e1b1b690..0c18d9e7 100644
--- a/rebar.config
+++ b/rebar.config
@@ -41,7 +41,13 @@
{jose, ".*", {git, "https://github.com/potatosalad/erlang-jose", {tag, "1.11.1"}}},
{lager, ".*", {git, "https://github.com/erlang-lager/lager", {tag, "3.9.1"}}},
{if_var_true, lua,
- {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0.0"}}}},
+ {if_not_rebar3,
+ {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0"}}}
+ }},
+ {if_var_true, lua,
+ {if_rebar3,
+ {luerl, ".*", {git, "https://github.com/rvirding/luerl", {tag, "1.0.0"}}}
+ }},
{mqtree, ".*", {git, "https://github.com/processone/mqtree", {tag, "1.0.14"}}},
{p1_acme, ".*", {git, "https://github.com/processone/p1_acme", {tag, "1.0.16"}}},
{if_var_true, mysql,