-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrebar.config
More file actions
84 lines (74 loc) · 1.6 KB
/
rebar.config
File metadata and controls
84 lines (74 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
{erl_opts, [debug_info]}.
{src_dirs, ["src", "src/controllers"]}.
{shell, [{config, "./config/sys.docker.config"}]}.
{erlydtl_opts, [
{doc_root, "src/views"},
{recursive, true},
{libraries, [
{nova_erlydtl_inventory, nova_erlydtl_inventory}
]},
{default_libraries, [nova_erlydtl_inventory]}
]}.
{deps, [
pgo,
nova
]}.
%% Release profiles
%% To create a release just run
%% rebar3 release -n ldf-prod
{relx, [
{release, {ldf, "0.1.0"}, [ldf], [
{dev_mode, false},
{include_erts, true},
{extended_start_script, true}
]}
]}.
%% Plugins for rebar3
{plugins, [
rebar3_auto,
{rebar3_erlydtl_plugin, ".*",
{git, "https://github.com/tsloughter/rebar3_erlydtl_plugin.git", {branch, "master"}}},
erlfmt
]}.
{provider_hooks, [
{pre, [{compile, {erlydtl, compile}}]}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
{profiles, [
{lint, [
{plugins, [rebar3_lint]}
]}
]}.
{alias, [{run, [{fmt, "--write"}, shell]}]}.
{erlfmt, [
write,
{files, [
"{rebar.config, elvis.config, src, include,test}/*.{hrl,erl}",
"src/controllers/*.erl",
"src/plugins/*.erl",
"config/*"
]}
]}.
{dialyzer, [
{warnings, [
unknown
]},
{plt_apps, all_deps},
{plt_extra_apps, [
jhn_stdlib,
edoc,
xmerl,
uuid,
cowboy,
erlydtl,
cowlib,
routing_tree
]}
]}.