Current section

Files

Jump to
grisp rebar.config
Raw

rebar.config

{erl_opts, [debug_info]}.
{deps, [
    {mapz, "~> 2.4"}
]}.

{project_plugins, [
    erlfmt,
    rebar3_ex_doc,
    {rebar_sbom, "1.0.0"}
]}.

{ex_doc, [
    {prefix_ref_vsn_with_v, false},
    {extras, [
        {"CHANGELOG.md", #{title => "Changelog"}},
        {"README.md", #{title => "Overview"}},
        {"LICENSE", #{title => "License"}}
    ]},
    {main, "README.md"},
    {homepage_url, "https://grisp.org"},
    {source_url, "https://github.com/grisp/grisp"},
    {assets, #{"assets" => "assets"}}
]}.

{hex, [{doc, #{provider => ex_doc}}]}.

{erlfmt, [
    write,
    {print_width, 80},
    {files, [
        "rebar.config",
        "{src,include,test}/*.{hrl,erl}"
    ]}
]}.

{alias, [
    {analyze, [xref, dialyzer]},
    {analyze, [xref, dialyzer]}
]}.

{profiles, [
    {test, [
        {deps, [grisp_emulation]},
        {eunit_opts, [{sys_config, "config/test.config"}]},
        {shell, [
            {apps, [grisp_emulation, grisp]},
            {config, "config/test.config"}
        ]}
    ]},
    {docs, [
        {erl_opts, [{d, 'DOC'}]}
    ]},
    {examples, [
        {extra_src_dirs, ["examples"]}
    ]},
    {eqc, [
        {extra_src_dirs, ["test"]}
    ]}
]}.