Current section

Files

Jump to
locus rebar.config
Raw

rebar.config

{cover_enabled, true}.
{erl_opts,
[%{i, "src"},
%bin_opt_info,
warn_export_all,
warn_export_vars,
warn_missing_spec,
warn_obsolete_guards,
warn_shadow_vars,
warn_unused_import,
warnings_as_errors,
{parse_transform, stacktrace_transform},
{platform_define, "^17.4", 'BAD_HTTPC'},
{platform_define, "^1[89]", 'POST_OTP_17'},
{platform_define, "^[2-9]", 'POST_OTP_17'},
{platform_define, "^19", 'POST_OTP_18'},
{platform_define, "^[2-9]", 'POST_OTP_18'},
{platform_define, "^1[78]", 'NO_GEN_STATEM'},
{platform_define, "^19.[0-2]", 'NO_GEN_STATEM'}
]}.
{deps,
[{certifi, "2.4.2"},
{ssl_verify_fun, "1.1.4"},
{stacktrace_compat, "1.0.2"}
]}.
{minimum_otp_vsn, "17.4"}.
{erl_first_files,
["src/locus_gen_statem_compat.erl",
"src/locus_event_subscriber.erl"
]}.
{dialyzer,
[{plt_include_all_deps, true},
{warnings,
[unmatched_returns,
error_handling,
race_conditions,
underspecs,
unknown
]}
]}.
{xref_checks,
[undefined_function_calls,
undefined_functions,
locals_not_used,
exports_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles,
[{development,
[{deps, [{recon, "2.4.0"}]},
{erl_opts,
[nowarn_missing_spec,
nowarnings_as_errors]}
]},
{escriptize,
[{deps, [{getopt, "1.0.1"}]},
{erl_opts, [{d, 'ESCRIPTIZING'}]},
{escript_name, "locus"},
{escript_incl_apps, [getopt]},
{escript_emu_args, "%%! +sbtu +A0 -noinput\n"}
]},
{publish,
[{plugins, [{rebar3_hex, "6.4.0"}]}
]},
{test,
[{deps,
[{jsx, "2.9.0"},
{stacktrace_compat, "1.0.2"}
]},
{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors]}
]},
{travis_test,
[{erl_opts,
[debug_info,
nowarn_export_all,
nowarn_missing_spec,
nowarnings_as_errors,
{d, 'RUNNING_ON_TRAVIS'}]}
]}
]}.