Current section

Files

Jump to
locus rebar.config
Raw

rebar.config

{cover_enabled, true}.
{erl_opts,
[%{i, "src"},
%bin_opt_info,
debug_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{parse_transform, stacktrace_transform},
{platform_define, "^1", 'NO_LOGGER'},
{platform_define, "^20", 'NO_LOGGER'},
{platform_define, "^21.0", 'NO_LOGGER'}, % `:set_application_level/2` requires 21.1+
{platform_define, "^19", 'NO_GEN_SERVER_HIBERNATE_AFTER'},
{platform_define, "^((2[3-9])|([3-9]))", 'HTTP_URI_PARSE_DEPRECATED'},
{platform_define, "^20.0", 'PRIV_DIR_SHENANIGANS'}
]}.
{minimum_otp_vsn, "19"}.
{deps,
[{stacktrace_compat, "1.2.1"},
{tls_certificate_check, "1.1.1"}
]}.
{erl_first_files,
["src/locus_event_subscriber.erl"
]}.
{shell,
[{apps, [locus]},
{config, "shell.config"}
]}.
{dialyzer,
[{plt_include_all_deps, true},
{warnings,
[unmatched_returns,
error_handling,
race_conditions,
underspecs,
unknown
]}
]}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles,
[{development,
[{deps, [{recon, "2.5.1"}]},
{erl_opts,
[nowarn_missing_spec,
nowarnings_as_errors]}
]},
{escriptize,
[{deps, [{getopt, "1.0.1"}]},
{erl_opts, [{d, 'ESCRIPTIZING'}]},
{escript_name, "locus"},
{escript_incl_apps, [getopt]},
{escript_emu_args, "%%! +sbtu +A0 -noinput\n"}
]},
{publish,
[{plugins, [{rebar3_hex, "6.10.2"}]}
]},
{test,
[{deps,
[{jsx, "3.0.0"}
]},
{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]},
{ci_test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors,
{d, 'RUNNING_ON_CI'}]}
]}
]}.
{edoc_opts,
[{stylesheet_file, "doc/custom_stylesheet.css"}
]}.