% Common project erlang options. {erl_opts, [ debug_info, warnings_as_errors ]}. % Common project dependencies. {deps, [ {cowboy, "1.0.4"}, {hackney, "1.5.7"}, {thrift, {git, "https://github.com/rbkmoney/thrift_erlang.git", {branch, "master"}}}, {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, unknown ]}, {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"}}} ]}.