summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config18
1 files changed, 11 insertions, 7 deletions
diff --git a/rebar.config b/rebar.config
index 7bc15ca..2c51f73 100644
--- a/rebar.config
+++ b/rebar.config
@@ -10,12 +10,16 @@
{escript_top_level_app, rebar}.
{escript_name, rebar3}.
-{erl_opts,
- [{platform_define, "R14", no_callback_support},
- {platform_define, "^[0-9]+", namespaced_types},
- {platform_define, "^R1[4|5]", deprecated_crypto},
- debug_info,
- warnings_as_errors]}.
+{profiles, [{dev, [
+ {erl_opts,
+ [{platform_define, "R14", no_callback_support},
+ {platform_define, "^[0-9]+", namespaced_types},
+ {platform_define, "^R1[4|5]", deprecated_crypto},
+ debug_info,
+ warnings_as_errors]}
+ ]}
+ ]
+}.
%% Types dict:dict() and digraph:digraph() have been introduced in Erlang 17.
%% At the same time, their counterparts dict() and digraph() are to be
@@ -32,7 +36,7 @@
{branch, "master"}}},
{providers, "",
{git, "https://github.com/tsloughter/providers.git",
- {branch, "format_error1"}}},
+ {branch, "master"}}},
{erlydtl, ".*",
{git, "https://github.com/erlydtl/erlydtl.git",
{tag, "0.9.4"}}},