
Basically this adds a new/3 with a third argument of intensity. The default (and by that the behaviour of new/1 and /2) remain unchanged so existing code isn't affected. If intenisty is set to `low` (instead of `high`) then only the prefix is coloured making the whole output less colourful and for some cases easyer to read.
27 lines
965 B
Erlang
27 lines
965 B
Erlang
%% -*- mode: Erlang; fill-column: 80; comment-column: 75; -*-
|
|
|
|
%% Dependencies ================================================================
|
|
{deps, [cf]}.
|
|
|
|
{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, "^R1[4|5]", deprecated_crypto},
|
|
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}}}]}]}
|
|
]}.
|