-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
99 lines (91 loc) · 3.77 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
%%%-------------------------------------------------------------------
%%% @author nsharma
%%% @copyright (C) 2016, Neeraj Sharma
%%% @doc
%%%
%%% @end
%%% Copyright (c) 2016, Neeraj Sharma <[email protected]>.
%%% All rights reserved.
%%%
%%% Redistribution and use in source and binary forms, with or without
%%% modification, are permitted provided that the following conditions are
%%% met:
%%%
%%% * Redistributions of source code must retain the above copyright
%%% notice, this list of conditions and the following disclaimer.
%%%
%%% * Redistributions in binary form must reproduce the above copyright
%%% notice, this list of conditions and the following disclaimer in the
%%% documentation and/or other materials provided with the distribution.
%%%
%%% * The names of its contributors may not be used to endorse or promote
%%% products derived from this software without specific prior written
%%% permission.
%%%
%%% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
%%% "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
%%% LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
%%% A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
%%% OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
%%% SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
%%% LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
%%% DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
%%% THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
%%% (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
%%% OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%%%-------------------------------------------------------------------
{erl_opts, [debug_info, warn_unused_vars, warn_shadow_vars, warn_unused_import,
warnings_as_errors, {parse_transform, lager_transform}]}.
% Superset of all dependencies which may be required by all the
% releases. Note that these will only be included only when
% explicitly asked by <app>/src/<app>.app.src
{deps, [
{'lager', ".*", {
git, "git://github.com/basho/lager.git", "master"}},
{'cowboy', ".*", {
git, "git://github.com/extend/cowboy.git", {tag, "0.9.0"}}},
{'jsx', ".*", {
git, "https://github.com/talentdeficit/jsx.git", {tag, "v2.8.0"}}}
]}.
{relx, [{release, { helloer, "0.1.0" },
[helloer],
[
{sys_config, "./config/helloer-sys.config"},
{vm_args, "./config/helloer-vm.args"}
]},
{release, { uclimate, "0.1.0" },
[uclimate],
[
{sys_config, "./config/uclimate-sys.config"},
{vm_args, "./config/uclimate-vm.args"}
]},
{release, { ustockmarket, "0.1.0" },
[ustockmarket],
[
{sys_config, "./config/ustockmarket-sys.config"},
{vm_args, "./config/ustockmarket-vm.args"}
]},
{release, { uwiki, "0.1.0" },
[uwiki],
[
{sys_config, "./config/uwiki-sys.config"},
{vm_args, "./config/uwiki-vm.args"}
]},
{release, { uworldtime, "0.1.0" },
[uworldtime],
[
{sys_config, "./config/uworldtime-sys.config"},
{vm_args, "./config/uworldtime-vm.args"}
]},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]
}.
{profiles, [{prod, [{relx, [{dev_mode, false},
{include_src, false},
{include_erts, false},
{system_libs, "build/rumprun-packages/erlang/build/erlangdist/opt/erlang/lib/erlang"}]}]
}]
}.
%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
%% ex: ts=2 sw=2 ft=erlang et