Current section

Files

Jump to
riak_core_lite rebar.config
Raw

rebar.config

%% Add debug information in compiled code for other tools like debuggers, code coverage tools, or analysis tools
{erl_opts, [debug_info]}.
{deps, [
% worker pool library
{poolboy, "~>1.5.2"}
]}.
%% Defensive xref configuration
{xref_checks, [ undefined_function_calls, locals_not_used, deprecated_function_calls ]}.
%% Code formatter
{plugins, [rebar3_format, rebar3_proper]}.
{format, [ {formatter, otp_formatter} ]}.
%%-------------------------------------------------------------------
%% Profiles
%%-------------------------------------------------------------------
{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{plugins, [{coveralls, {git, "https://github.com/markusn/coveralls-erl", {branch, "master"}}}]},
{deps, [meck]}
]},
{docs, [{deps, [{edown, "0.7.0"}]}]},
{proper, [
{erl_opts, [nowarn_export_all,{d, 'PROPER'}, {d, 'TEST'}]},
{plugins, [{coveralls, {git, "https://github.com/markusn/coveralls-erl", {branch, "master"}}}]},
{deps, [meck, {proper, "1.3.0"}, recon]}
]},
{lint, [
{plugins, [
{rebar3_lint, {git, "https://github.com/project-fifo/rebar3_lint.git", {tag, "0.1.11"}}}
]}
]}
]}.
{cover_enabled, true}.
{cover_export_enabled, true}.
{coveralls_coverdata, "_build/test/cover/*.coverdata"}.
{coveralls_service_name, "travis-ci"}.