woody_erlang/rebar.config

56 lines
1.3 KiB
Plaintext
Raw Normal View History

2016-04-14 07:40:33 +00:00
% Common project erlang options.
{erl_opts, [
debug_info,
warnings_as_errors
]}.
% Common project dependencies.
{deps, [
{cowboy, "1.0.4"},
{hackney, "1.5.7"},
2016-04-14 14:38:45 +00:00
{thrift, {git, "https://github.com/rbkmoney/thrift_erlang.git", {branch, "master"}}},
2016-04-14 07:40:33 +00:00
{snowflake, {git, "https://github.com/tel/snowflake.git", {tag, "0.1.2"}}},
{genlib, {git, "https://github.com/rbkmoney/genlib.git", {branch, "master"}}}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_functions_calls,
deprecated_functions
]}.
{dialyzer, [
{warnings, [
unmatched_returns,
error_handling,
race_conditions,
2016-04-19 13:26:05 +00:00
unknown
2016-04-14 07:40:33 +00:00
]},
{plt_apps, all_deps}
]}.
{profiles, [
{test, [
{provider_hooks, [
{pre, [
{compile, {thrift, compile}},
{clean, {thrift, clean}}
]}
]},
{thrift_compiler_opts, [
{in_dir, "test"},
{in_files, ["test.thrift"]},
{out_erl_dir, "test"},
{out_hrl_dir, "test"},
{gen, "erlang:app_prefix=woody"}
]}
]}
]}.
{plugins, [
{rebar3_thrift_compiler, {git, "https://github.com/rbkmoney/rebar3_thrift_compiler.git", {tag, "0.1"}}}
]}.