summaryrefslogtreecommitdiff
path: root/rebar.config
blob: f21784978ba97e29636304cd56b766e232384210 (plain)
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
%% -*- erlang -*-

%%
%% Top level app that controls other apps.
%%
{erl_opts, [debug_info, {lager_extra_sinks, [rvi_log_log]}]}.
{lib_dirs, [ "deps", "components" ]}.
{sub_dirs, ["rel",
	    "components/rvi_common",
	    "components/authorize",
	    "components/dlink",
	    "components/dlink_bt",
	    "components/dlink_sms",
	    "components/dlink_tcp",
	    "components/dlink_tls",
	    "components/proto_bert",
	    "components/proto_json",
	    "components/proto_msgpack",
	    "components/schedule",
	    "components/service_discovery/",
	    "components/service_edge"
]}.

{ct_use_short_names, true}.
{ct_extra_params, "-setcookie rvi_cookie"}.

{deps,
 [
  {lager, ".*", {git, "git://github.com/basho/lager.git", "3.0.1"}},
  {ale, ".*", {git, "git://github.com/tonyrog/ale.git", "HEAD"}},
  {exo,  ".*", {git, "git://github.com/Feuerlabs/exo.git",  "1.2"}},
  {jsx, ".*", {git, "git://github.com/talentdeficit/jsx.git", "HEAD"}},
  {setup, ".*", {git, "git://github.com/uwiger/setup.git", "HEAD"}},
  {resource, ".*", {git, "git://github.com/tonyrog/resource.git", "HEAD"}},
  %% GBS cannot clone the git@github.com:tonyrog/uart.git references
  %% GBS cannot clone the git@github.com:tonyrog/uart.git and
  %% git@github.com:tonyrog/dthread.git and references
  %% given in gsms/rebar.config and uart/rebar.config, so
  %% we'll specify them with a working reference here instead.
  {bt, ".*", {git, "git://github.com/magnusfeuer/bt.git", "HEAD"}},
  {dthread, ".*", {git, "git://github.com/tonyrog/dthread.git", "HEAD"}},
  {uart, ".*", {git, "git://github.com/tonyrog/uart.git", "HEAD"}},
  {gsms, ".*", {git, "git://github.com/tonyrog/gsms.git", {branch,"uw-session-behavior"}}},
  {base64url, ".*", {git, "git://github.com/dvv/base64url.git", "HEAD"}},
  {msgpack, ".*", {git, "git://github.com/msgpack/msgpack-erlang.git", "HEAD"}},
  {exec, ".*", {git, "git://github.com/saleyn/erlexec.git", "HEAD"}},
  {gproc, ".*", {git, "git://github.com/uwiger/gproc.git", "HEAD"}}
 ]}.

{xref_checks,
 [
  undefined_function_calls,
  undefined_functions,
  locals_not_used,
  deprecated_functions_calls,
  deprecated_functions
 ]}.