Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [debug_info]}.
{deps, []}.
{escript_incl_apps, [erlfmt, getopt]}.
{escript_main_app, erlfmt}.
{escript_name, erlfmt}.
{escript_emu_args, "%%! +sbtu +A0 -noinput -noshell -mode minimal\n"}.
{plugins, [erlfmt]}.
{erlc_compiler, [{recursive, false}]}.
{provider_hooks, [
{pre, [
{ct, escriptize}
]}
]}.
{dialyzer, [
{exclude_mods, [rebar3_fmt_prv]}
]}.
{profiles, [
{release, [
{deps, [getopt]},
{erl_opts, [no_debug_info]}
]},
{test, [
{deps, [getopt]}
]}
]}.
{erlfmt, [
write,
{files, ["{src,include,test}/*.{hrl,erl}", "rebar.config"]}
]}.
% This is a hack so that erlfmt can use itself as a plugin
% leveraging _checkouts. The override is to break the infinite loop
{overrides, [{override, erlfmt, [{plugins, []}]}]}.