-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathrebar.config
40 lines (35 loc) · 1.47 KB
/
rebar.config
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
%% -*- Erlang -*-
%%============================================================================
{deps,
[{rebar3, {git, "git://github.com/erlang/rebar3.git", {tag, "3.13.2"}}},
{proper, {git, "https://github.com/proper-testing/proper", {branch, "master"}}}]
}.
{plugins,
[rebar3_hex, {rebar3_erlydtl_plugin, ".*", {git, "https://github.com/tsloughter/rebar3_erlydtl_plugin.git", {branch, "master"}}}]
}.
{erlydtl_opts, [{custom_tags_modules, [nifty_tags]},
{custom_filters_modules, [nifty_filters]},
{auto_escape, false},
{compiler_options, [debug_info]},
{source_ext, ".tpl"},
{recursive, false},
{force_recompile, true},
{module_ext, "_nifty_template"}
]}.
{pre_hooks,
[{"(linux|darwin|solaris)", compile, "make -C c_src"},
{"(freebsd)", compile, "gmake -C c_src"}]}.
{post_hooks,
[{"(linux|darwin|solaris)", clean, "make -C c_src clean"},
{"(freebsd)", clean, "gmake -C c_src clean"}]}.
{dialyzer, [{warnings, [unmatched_returns, underspecs]},
{base_plt_location, "cache/"},
{base_plt_apps, [erts,
kernel,
stdlib,
compiler,
crypto,
syntax_tools,
tools]}]}.
%% don't change the following line
{provider_hooks, [{post, [{compile, {erlydtl, compile}}]}]}.