2019-12-21 17:05:18 +00:00
|
|
|
%% -*- erlang -*-
|
2019-12-15 11:14:42 +00:00
|
|
|
{erl_opts,
|
|
|
|
[
|
|
|
|
debug_info,
|
|
|
|
warnings_as_errors
|
|
|
|
]}.
|
|
|
|
|
|
|
|
{deps,
|
|
|
|
[
|
|
|
|
{envloader, {git, "https://github.com/nuex/envloader.git", {branch, "master"}}},
|
2020-08-22 15:33:27 +00:00
|
|
|
{eql, {git, "https://github.com/artemeff/eql.git", {tag, "0.1.0"}}},
|
2019-12-15 11:14:42 +00:00
|
|
|
getopt,
|
|
|
|
epgsql
|
|
|
|
]}.
|
|
|
|
|
|
|
|
{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
|
|
|
|
2019-12-21 17:05:18 +00:00
|
|
|
{xref_checks,
|
|
|
|
[undefined_function_calls,
|
|
|
|
undefined_functions,locals_not_used,
|
|
|
|
deprecated_function_calls,
|
|
|
|
deprecated_functions
|
|
|
|
]}.
|
|
|
|
|
2019-12-15 11:14:42 +00:00
|
|
|
%% Profiles
|
|
|
|
{profiles, [{test,
|
|
|
|
[{erl_opts, [debug_info]}
|
|
|
|
]}]}.
|