|
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
|
|
%% ex: ts=4 sw=4 ft=erlang et
|
|
|
|
%% 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/*", "."}, {"rebar/include/*", "."}]}.
|
|
|
|
{escript_incl_apps,
|
|
[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
|
|
%% type name depending on the OTP version used.
|
|
{erl_opts,
|
|
[
|
|
{platform_define, "^[0-9]+", namespaced_types}
|
|
]}.
|
|
|
|
{deps, [
|
|
{erlware_commons, ".*",
|
|
{git, "https://github.com/erlware/erlware_commons.git",
|
|
{branch, "master"}}},
|
|
{providers, "",
|
|
{git, "https://github.com/tsloughter/providers.git",
|
|
{branch, "format_error1"}}},
|
|
{relx, "",
|
|
{git, "https://github.com/tsloughter/relx.git",
|
|
{branch, "format_error1"}}},
|
|
{getopt, "", {git, "https://github.com/jcomellas/getopt.git", {branch, "master"}}}]}.
|
|
|
|
{erlydtl_opts, [{doc_root, "priv/templates"},
|
|
{compiler_options, [report, return, debug_info]}]}.
|