mirror of
https://github.com/valitydev/kds.git
synced 2024-11-06 08:15:19 +00:00
104 lines
3.0 KiB
Plaintext
104 lines
3.0 KiB
Plaintext
|
% Common project erlang options.
|
||
|
{erl_opts, [
|
||
|
debug_info,
|
||
|
warnings_as_errors,
|
||
|
warn_export_all,
|
||
|
warn_missing_spec,
|
||
|
% warn_untyped_record, %% FIXME shamir.hrl share record is broken
|
||
|
warn_export_vars,
|
||
|
warn_unused_record,
|
||
|
warn_bif_clash,
|
||
|
warn_obsolete_guard,
|
||
|
warn_unused_vars,
|
||
|
warn_shadow_vars,
|
||
|
warn_unused_import,
|
||
|
warn_unused_function,
|
||
|
warn_deprecated_function
|
||
|
]}.
|
||
|
|
||
|
% Common project dependencies.
|
||
|
{deps, [
|
||
|
{lib_combin, "0.1.5"},
|
||
|
{jsx, "2.9.0"},
|
||
|
{jose, "1.9.0"},
|
||
|
{recon , "2.3.2"},
|
||
|
{libdecaf, "1.0.0"},
|
||
|
{shamir , {git, "git@github.com:rbkmoney/shamir.git" , {branch, master}}} ,
|
||
|
{woody , {git, "git@github.com:rbkmoney/woody_erlang.git" , {branch, master}}} ,
|
||
|
{logger_logstash_formatter, {git, "git@github.com:rbkmoney/logger_logstash_formatter.git", {branch, master}}} ,
|
||
|
{genlib , {git, "git@github.com:rbkmoney/genlib.git" , {branch, master}}} ,
|
||
|
{how_are_you , {git, "https://github.com/rbkmoney/how_are_you.git" , {branch, master}}} ,
|
||
|
{erl_health , {git, "https://github.com/rbkmoney/erlang-health.git" , {branch, master}}} ,
|
||
|
{cds_proto , {git, "git@github.com:rbkmoney/cds-proto.git" , {branch, master}}} ,
|
||
|
{msgpack , {git, "https://github.com/rbkmoney/msgpack-erlang" , {branch, master}}} ,
|
||
|
{scoper , {git, "git@github.com:rbkmoney/scoper.git" , {branch, master}}}
|
||
|
]}.
|
||
|
|
||
|
{xref_checks, [
|
||
|
undefined_function_calls,
|
||
|
undefined_functions,
|
||
|
% locals_not_used,
|
||
|
deprecated_functions_calls,
|
||
|
deprecated_functions
|
||
|
]}.
|
||
|
|
||
|
{relx, [
|
||
|
{release, {kds, "0.1.0"}, [
|
||
|
{recon, load},
|
||
|
{libdecaf, load},
|
||
|
{logger_logstash_formatter, load},
|
||
|
kds
|
||
|
]},
|
||
|
{sys_config, "./config/sys.config"},
|
||
|
{vm_args, "./config/vm.args"},
|
||
|
{dev_mode, true},
|
||
|
{include_erts, false},
|
||
|
{extended_start_script, true}
|
||
|
]}.
|
||
|
|
||
|
{dialyzer, [
|
||
|
{warnings, [
|
||
|
unmatched_returns,
|
||
|
error_handling,
|
||
|
race_conditions,
|
||
|
%underspecs,
|
||
|
unknown
|
||
|
]},
|
||
|
{plt_apps, all_deps}
|
||
|
]}.
|
||
|
|
||
|
{profiles, [
|
||
|
{prod, [
|
||
|
{relx, [
|
||
|
{dev_mode, false},
|
||
|
{include_erts, true},
|
||
|
{overlay, []}
|
||
|
]}
|
||
|
]},
|
||
|
{test, []},
|
||
|
{dev, [
|
||
|
{plugins, [
|
||
|
rebar3_run
|
||
|
]}
|
||
|
]}
|
||
|
]}.
|
||
|
|
||
|
{plugins, [
|
||
|
{rebar3_thrift_compiler,
|
||
|
{git, "https://github.com/rbkmoney/rebar3_thrift_compiler.git", {tag, "0.3.1"}}}
|
||
|
]}.
|
||
|
|
||
|
{overrides, [
|
||
|
{override, rebar3_protobuffs_plugin, [
|
||
|
{deps, [
|
||
|
{protobuffs, {git, "git://github.com/basho/erlang_protobuffs.git", {tag, "0.8.2"}}}
|
||
|
]}
|
||
|
]},
|
||
|
{override, protobuffs, [
|
||
|
{deps, []}
|
||
|
]},
|
||
|
{override, hamcrest, [
|
||
|
{plugins, []}
|
||
|
]}
|
||
|
]}.
|