-
Notifications
You must be signed in to change notification settings - Fork 22
/
rebar.config
28 lines (27 loc) · 1.27 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
{erl_opts, [debug_info]}.
{deps_dir,"deps"}.
{erl_first_files, ["rest.erl"]}.
{deps, [{n2o, ".*", {git, "git://github.com/synrc/n2o", {tag,"master"}}},
{kvs, ".*", {git, "git://github.com/synrc/kvs", {tag,"master"}}},
{dec, ".*", {git, "git://github.com/erpuno/dec", {tag,"master"}}},
{bpe, ".*", {git, "git://github.com/synrc/bpe", {tag,"master"}}},
{erp, ".*", {git, "git://github.com/erpuno/erp", {tag,"master"}}},
{jsone, ".*", {git, "git://github.com/sile/jsone", {tag,"master"}}},
{syn, ".*", {git, "git://github.com/ostinelli/syn", {tag,"master"}}},
{cowboy, ".*", {git, "git://github.com/voxoz/cowboy2", {tag,"master"}}}]}.
{project_plugins, [rebar3_format]}.
{format, [
{files, ["src/*.erl", "test/*.erl"]},
{formatter, otp_formatter},
{options, #{ line_length => 108,
paper => 250,
spaces_around_fields => false,
inlining => all,
inline_clause_bodies => true,
inline_expressions => true,
inline_qualified_function_composition => true,
inline_simple_funs => true,
inline_items => all,
inline_fields => true,
inline_attributes => true
}}]}.