summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2018-01-15 12:31:47 +0100
committerPaweł Chmielowski <pchmielowski@process-one.net>2018-01-15 12:31:47 +0100
commita7639fd4ad459aad5ad2d8fbe3b8c9414e5d4350 (patch)
treecc0569b477724af3e52a336778bcea8da96f33f7 /rebar.config
parentUse override syntax that rebar3 accepts (diff)
Call configure on deps in separate rebar command that compile
This way we rebar.config.script can use vars detected by configure
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config3
1 files changed, 2 insertions, 1 deletions
diff --git a/rebar.config b/rebar.config
index 0b40ade5..3bce1bf0 100644
--- a/rebar.config
+++ b/rebar.config
@@ -111,7 +111,7 @@
{if_rebar3, {plugins, [rebar3_hex, {provider_asn1, "0.2.0"}]}}.
{if_not_rebar3, {plugins, [
- deps_erl_opts, override_deps_versions, override_opts,
+ deps_erl_opts, override_deps_versions, override_opts, configure_deps,
{if_var_true, elixir, rebar_elixir_compiler},
{if_var_true, elixir, rebar_exunit}
]}}.
@@ -153,6 +153,7 @@
{if_version_above, "17", {cover_enabled, true}}.
{cover_export_enabled, true}.
+{recursive_cmds, ['configure-deps']}.
{post_hook_configure, [{"fast_tls", []},
{"stringprep", []},