forked from inaka/cowboy_swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
41 lines (35 loc) · 1.19 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
41
%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
%% == Erlang Compiler ==
%% Erlang compiler options
{erl_opts, [ warn_unused_vars
, warn_export_all
, warn_shadow_vars
, warn_unused_import
, warn_unused_function
, warn_bif_clash
, warn_unused_record
, warn_deprecated_function
, warn_obsolete_guard
, strict_validation
, warn_export_vars
, warn_exported_vars
, warn_untyped_record
, debug_info]}.
%% == Dependencies ==
{deps, [ {mixer, "1.0.0", {pkg, inaka_mixer}}
, cowboy_swagger
]}.
%% == Release ==
{relx, [{release, {example, "0.1"}, [example]},
{sys_config, "./config/sys.config"},
{extended_start_script, true},
{overlay,
[
{copy, "./_checkouts/cowboy_swagger/priv/swagger", "priv/swagger"}
%% The above should be changes to the following when cowboy_swagger is
%% used as a normal dependency (instead of _checkouts):
%% {copy, "./_build/default/lib/cowboy_swagger/priv/swagger", "priv/swagger"}
]
}
]}.