Current section
Files
Jump to
Current section
Files
rebar.config
{erl_opts, [debug_info, warn_unused_vars, warn_unused_import, warn_shadow_vars]}.
{src_dirs, ["src", "plugins"]}.
{deps, []}.
{min_otp_vsn, "24"}.
% Escript configuration for erlalign command-line tool
{escript_incl_apps, [erlalign]}.
{escript_emu_args, "%%! -smp enable\n"}.
{escript_shebang, "#!/usr/bin/env escript\n"}.
{escript_name, erlalign}.
% Application configuration
{app_vars, []}.
{project_plugins, [rebar3_hex, {rebar3_ex_doc, "0.2.31"}]}.
{ex_doc, [
{extras, [
{"README.md", #{title => "Overview"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{source_url, "https://github.com/saleyn/erlalign"}
]}.
% Hex.pm package metadata
{hex, [
{doc, ex_doc},
{description, "Erlang code formatter with column alignment"},
{licenses, ["Apache-2.0"]},
{maintainers, ["Serge Aleynikov"]},
{keywords, ["erlang", "formatter", "format", "fmt", "align", "source",
"code", "code-style", "text-alignment", "alignment", "columns"]},
{links, #{
"GitHub" => "https://github.com/saleyn/erlalign",
"ExAlign" => "https://github.com/saleyn/exalign"
}},
{files, [
"src",
"plugins",
"test",
"priv",
"rebar.config",
"rebar.lock",
"README.md",
"LICENSE",
"Makefile",
".github"
]}
]}.
{cover_enabled, true}.
{covertool_opts, [
{covertool_output_dir, ".cover"}
]}.
% Test profile - exclude fixture files from compilation
{profiles, [
{test, [
{erl_opts, [debug_info, warn_unused_vars, warn_unused_import, warn_shadow_vars]},
{test_opts, [
{erl_first_targets, []},
{cover, true}
]},
% Exclude test fixtures from being compiled
{src_dirs, ["src", "test"]},
{exclude_modules, []}
]}
]}.