
* CI/CD lowest OTP version is 19.3 * from 19.3, `rand` module exists (https://www.erlang.org/docs/19/man/rand) * from 19.3, `crypto:hash/1` exists (https://www.erlang.org/docs/19/man/crypto).
30 lines
1 KiB
Erlang
30 lines
1 KiB
Erlang
%% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
|
|
|
|
%% Dependencies ================================================================
|
|
{deps, [
|
|
{cf, "~>0.3"}
|
|
]}.
|
|
|
|
{erl_first_files, ["ec_dictionary", "ec_vsn"]}.
|
|
|
|
%% Compiler Options ============================================================
|
|
{erl_opts,
|
|
[{platform_define, "^[0-9]+", namespaced_types},
|
|
{platform_define, "^[0-9]+", have_callback_support},
|
|
{platform_define, "^2", unicode_str},
|
|
{platform_define, "^(R|1|20)", fun_stacktrace},
|
|
debug_info,
|
|
warnings_as_errors]}.
|
|
|
|
%% EUnit =======================================================================
|
|
{eunit_opts, [verbose,
|
|
{report, {eunit_surefire, [{dir, "."}]}}]}.
|
|
|
|
{cover_enabled, true}.
|
|
{cover_print_enabled, true}.
|
|
|
|
%% Profiles ====================================================================
|
|
{profiles, [{dev, [{deps,
|
|
[{neotoma, "",
|
|
{git, "https://github.com/seancribbs/neotoma.git", {branch, master}}}]}]}
|
|
]}.
|