-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
59 lines (53 loc) · 2.25 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
{minimum_otp_version, "18.3"}.
{erl_opts, [
%% Erlang releases after 17 don't put R in front of their name, and
%% also require queue() to be written like queue:queue()
{platform_define, "^[0-9]+", namespaced_queues},
debug_info,
export_all,
{parse_transform, lager_transform}
]}.
{eunit_opts, [verbose,
{report, {eunit_surefire, [{dir, "."}]}}]}.
{edoc_opts, [{doclet, edown_doclet},
{source_path, ["src"]},
{stylesheet, ""},
{image, ""},
{app_default, "http://www.erlang.org/doc/man"},
{edown_target, github},
{top_level_readme,
{"./README.md", "http://github.com/SilentCircle/apns_erl_sim"}}
]}.
{deps, [
{uuid, ".*",
{git, "https://github.com/okeuday/uuid.git", {branch, "master"}}},
{ranch, ".*",
{git, "https://github.com/ninenines/ranch.git", {tag, "1.2.1"}}},
{chatterbox, ".*",
{git, "[email protected]:SilentCircle/chatterbox.git", {branch, "silentcircle/master"}}},
{lager, ".*",
{git, "https://github.com/basho/lager.git", {branch, "master"}}},
{jsx, ".*",
{git, "https://github.com/talentdeficit/jsx.git", {branch, "master"}}},
{sc_util, ".*",
{git, "[email protected]:SilentCircle/sc_util.git", {branch, "master"}}},
{apns_erl_util, ".*",
{git, "[email protected]:SilentCircle/apns_erl_util.git", {branch, "master"}}}
]
}.
{pre_hooks, [{compile, "./get_apns_tools.sh"}]}.
{relx, [
{release, {apns_erl_sim, "0.0.1"}, [apns_erl_sim]},
{sys_config, "./config/sys.config"},
{dev_mode, true},
{include_erts, true},
{extended_start_script, true},
{overlay, [
{template, "config/sys.config", "sys.config"},
{copy, "config/localhost.crt", "."},
{copy, "config/localhost.key", "."},
{copy, "certs/FakeAppleProdPushServer.key.unencrypted.pem", "./com.apple.push.api.key.unencrypted.pem"},
{copy, "certs/FakeAppleProdPushServer.cert.pem", "./com.apple.push.api.cert.pem"},
{copy, "certs/FakeAppleAllCAChain.cert.pem", "."}
]}
]}.