sequences/rebar.config
Andrew Mayorov ed619500b7
Bump dependencies (#14)
* rbkmoney/how_are_you@2bb46054
* rbkmoney/logger_logstash_formatter@28828798
* rbkmoney/machinegun_proto@3916141f
* rbkmoney/scoper@f2ac9c0b
* rbkmoney/woody_erlang@f2e56d8a

* Switch to public dep endpoints
* Drop no longer necessary `rebar-update` target
* Evict useless rebar3_run plugin
* Fix logger config stanza
* Stub process repair support
2020-01-30 21:07:58 +03:00

102 lines
2.4 KiB
Erlang

%% Common project erlang options.
{erl_opts, [
% mandatory
debug_info,
warnings_as_errors,
warn_export_all,
warn_missing_spec,
warn_untyped_record,
warn_export_vars,
% by default
warn_unused_record,
warn_bif_clash,
warn_obsolete_guard,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_deprecated_function
% at will
% bin_opt_info
% no_auto_import
% warn_missing_spec_all
]}.
%% Common project dependencies.
{deps, [
{woody , {git, "https://github.com/rbkmoney/woody_erlang.git", {branch, "master"}}},
{seq_proto , {git, "git@github.com:rbkmoney/sequences-proto.git", {branch, master}}},
{mg_proto , {git, "https://github.com/rbkmoney/machinegun_proto.git", {branch, master}}},
{logger_logstash_formatter, {git, "https://github.com/rbkmoney/logger_logstash_formatter.git", {branch, master}}},
{scoper , {git, "https://github.com/rbkmoney/scoper.git", {branch, "master"}}},
{erl_health , {git, "https://github.com/rbkmoney/erlang-health.git", {branch, master}}}
]}.
%% XRef checks
{xref_checks, [
undefined_function_calls,
undefined_functions,
deprecated_functions_calls,
deprecated_functions
]}.
% at will
% {xref_warnings, true}.
%% Tests
{cover_enabled, true}.
%% Relx configuration
{relx, [
{release, {sequences, "0.1.0"}, [
sequences
]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}
]}.
%% Dialyzer static analyzing
{dialyzer, [
{warnings, [
% mandatory
unmatched_returns,
error_handling,
race_conditions
% unknown %% need fix
]},
{plt_apps, all_deps}
]}.
{profiles, [
{test, [
{deps, [
]}
]},
{prod, [
{deps, [
% for introspection on production
{recon, "2.3.2"}
]},
{relx, [
{release, {sequences, "0.1.0"}, [
{recon , load}, % tools for introspection
{runtime_tools , load}, % debugger
{tools , load}, % profiler
{logger_logstash_formatter, load}, % logger formatter
sasl,
sequences
]},
{dev_mode, false},
{include_erts, true}
]}
]}
]}.