Skip to main content

rebar.config

{erl_opts, [debug_info]}.

{deps, []}.

{project_plugins, [rebar3_hex]}.

{xref_checks, [
    undefined_function_calls, undefined_functions, locals_not_used,
    deprecated_function_calls, deprecated_functions
]}.

{dialyzer, [
    {warnings, [unknown]}
]}.

{profiles, [
    {test, [
        {deps, [
            {proper, {git, "https://github.com/proper-testing/proper", {tag, "v1.3"}}}
        ]},
        {plugins, [
            {rebar3_proper, {git, "https://github.com/ferd/rebar3_proper", {tag, "0.12.1"}}}
        ]},
        {eunit_opts, [verbose]}
    ]},
    {dev, [
        {deps, [lfe]},
        {plugins, [rebar3_lfe]}
    ]},
    {maintainer, [
        {plugins, [rebar3_hex]}
    ]}
]}.

{alias, [
    {coverage, [
        {proper, "-c"},
        {cover, "-v --min_coverage=0"}
    ]},
    {check, [
        compile,
        xref,
        dialyzer,
        eunit,
        coverage
    ]},
    {publish, [
        compile,
        {hex, "publish package"}
    ]}
]}.