woody_erlang/rebar.config
Sergey Elin 09506cdd10
MSPF-413: Add execition_time (#92)
List of changes:
* Use thrift plugin compiler 0.3.0
* Update build_tools to latest
* Update build image to Erlang 21
* Added execution_start_time, execution_end_time, execution_duration_ms to woody state
2019-04-19 10:08:35 +03:00

59 lines
1.4 KiB
Erlang

% Common project erlang options.
{erl_opts, [
debug_info,
warnings_as_errors
]}.
% Common project dependencies.
{deps, [
{cowboy, "2.5.0"},
{hackney, "1.15.1"},
{rfc3339, "0.2.2"},
{gproc , "0.8.0"},
{cache , "2.2.0"},
{thrift, {git, "https://github.com/rbkmoney/thrift_erlang.git", {branch, "master"}}},
{snowflake, {git, "https://github.com/rbkmoney/snowflake.git", {branch, "master"}}},
{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"}
]},
{deps, [{proper, "1.2.0"}]}
]}
]}.
{plugins, [
{rebar3_thrift_compiler, {git, "https://github.com/rbkmoney/rebar3_thrift_compiler.git", {tag, "0.3.0"}}}
]}.