2019-12-21 17:05:18 +00:00
|
|
|
%% -*- erlang -*-
|
2021-02-25 14:41:48 +00:00
|
|
|
{erl_opts, [
|
|
|
|
debug_info,
|
|
|
|
warnings_as_errors
|
|
|
|
]}.
|
2019-12-15 11:14:42 +00:00
|
|
|
|
2021-02-25 14:41:48 +00:00
|
|
|
{plugins, [erlfmt]}.
|
|
|
|
|
|
|
|
{deps, [
|
|
|
|
{envloader, {git, "https://github.com/nuex/envloader.git", {branch, "master"}}},
|
|
|
|
eql,
|
|
|
|
getopt,
|
2022-05-26 18:38:32 +00:00
|
|
|
{epgsql, "4.6.0"}
|
2021-02-25 14:41:48 +00:00
|
|
|
]}.
|
2019-12-15 11:14:42 +00:00
|
|
|
|
|
|
|
{escript_incl_apps, [psql_migration]}.
|
|
|
|
{escript_main_app, psql_migration}.
|
|
|
|
{escript_name, psql_migration}.
|
|
|
|
{escript_emu_args, "%%! +sbtu +A1\n"}.
|
|
|
|
|
2020-03-04 16:13:44 +00:00
|
|
|
{provider_hooks, [{post, [{compile, escriptize}]}]}.
|
2019-12-15 12:02:23 +00:00
|
|
|
|
2021-02-25 14:41:48 +00:00
|
|
|
{xref_checks, [
|
|
|
|
undefined_function_calls,
|
|
|
|
undefined_functions,
|
|
|
|
locals_not_used,
|
|
|
|
deprecated_function_calls,
|
|
|
|
deprecated_functions
|
|
|
|
]}.
|
2019-12-21 17:05:18 +00:00
|
|
|
|
2019-12-15 11:14:42 +00:00
|
|
|
%% Profiles
|
2021-02-25 14:41:48 +00:00
|
|
|
{profiles, [{test, [{erl_opts, [debug_info]}]}]}.
|