summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'rebar.config')
-rw-r--r--rebar.config39
1 files changed, 16 insertions, 23 deletions
diff --git a/rebar.config b/rebar.config
index e465df1..0014c3a 100644
--- a/rebar.config
+++ b/rebar.config
@@ -5,12 +5,19 @@
%% escript_incl_extra is for internal rebar-private use only.
%% Do not use outside rebar. Config interface is not stable.
-{escript_incl_extra, [{"priv/templates/*", "."}]}.
+{escript_incl_extra, [{"priv/templates/*", "."}, {"rebar/include/*", "."}]}.
+
{escript_incl_apps,
- [inets, getopt, erlydtl, erlware_commons, relx]}.
+ [inets, getopt, erlydtl, erlware_commons, relx, providers, rebar]}.
{escript_top_level_app, rebar}.
{escript_name, rebar3}.
+{erl_opts,
+ [{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
%% deprecated in Erlang 18. namespaced_types option is used to select proper
@@ -20,27 +27,13 @@
{platform_define, "^[0-9]+", namespaced_types}
]}.
-{xref_checks, []}.
-{xref_queries,
- [{"(XC - UC) || (XU - X - B
- - (\"escript\":\"foldl\"/\"3\")
- - (\"eunit_test\":\"function_wrapper\"/\"2\")
- - (\"abnfc\":\"file\"/\"2\")
- - (\"erlydtl\":\"compile\"/\"3\")
- - (\"lfe_comp\":\"file\"/\"2\")
- - (\"neotoma\":\"file\"/\"2\")
- - (\"protobuffs_compile\":\"scan_file\"/\"2\")
- - (\"diameter_codegen\":\"from_dict\"/\"4\")
- - (\"diameter_dict_util\":\"format_error\"/\"1\")
- - (\"diameter_dict_util\":\"parse\"/\"2\"))",
- []}]}.
-
-{first_files, [rebar_provider]}.
-
-{deps, [{relx, "",
- {git, "https://github.com/erlware/relx.git",
- {branch, "master"}}},
- {getopt, "", {git, "git@github.com:jcomellas/getopt.git", {branch, "master"}}}]}.
+{deps, [{providers, "",
+ {git, "https://github.com/tsloughter/providers.git",
+ {branch, "format_error"}}},
+ {relx, "",
+ {git, "https://github.com/tsloughter/relx.git",
+ {branch, "format_error2"}}},
+ {getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}.
{erlydtl_opts, [{doc_root, "priv/templates"},
{compiler_options, [report, return, debug_info]}]}.