-
Notifications
You must be signed in to change notification settings - Fork 0
/
rebar.config
88 lines (82 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
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
{erl_opts, [debug_info]}.
{deps, [
{grisp, "~> 2.7"},
{gun, "2.1.0"},
jsx,
{grisp_cryptoauth, "~> 2.4"},
{certifi, "2.13.0"}
]}.
{plugins, [rebar3_grisp, rebar3_ex_doc]}.
{grisp, [
{otp, [
{version, "27"}
]},
{deploy, [
{pre_script, "rm -rf /Volumes/GRISP/*"},
{destination, "/Volumes/GRISP"},
{post_script, "diskutil unmount /Volumes/GRISP"}
]}
]}.
{hex, [{doc, #{provider => ex_doc}}]}.
{edoc_opts, [{preprocess, true}]}.
{ex_doc, [
{extras, [
{"CHANGELOG.md", #{title => "Changelog"}},
{"README.md", #{title => "Overview"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{homepage_url, "https://github.com/grisp/grisp_connect"},
{source_url, "https://github.com/grisp/grisp_connect"},
{api_reference, true}
]}.
{profiles, [
{prod, [
{relx, [
{release, {grisp_connect, semver}, [grisp_connect]},
{sys_config, "config/sys.config"}
]}
]},
{dev, [
{relx, [
{release, {grisp_connect, semver}, [grisp_connect]},
{sys_config, "config/dev.config"}
]}
]},
{local, [
{deps, [
{grisp_emulation, "0.2.2"},
{grisp_updater_grisp2, {git, "https://github.com/grisp/grisp_updater_grisp2.git", {branch, "main"}}}
]},
{overrides, [
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]}
]},
{shell, [
{apps, [grisp_emulation, grisp_updater_grisp2, grisp_connect]},
{config, "./config/local.config"}
]}
]},
{test, [
{deps, [
{grisp_emulation, "0.2.2"},
{cowboy, "2.12.0"}
]},
{overrides, [
{add, eresu, [{erl_opts, [{d, 'TEST'}]}]},
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]}
]},
{ct_opts, [{sys_config, "./config/test.config"}]}
]},
{docs,[
{deps, [
{grisp_emulation, "0.2.2"}
]},
{overrides, [
{add, grisp, [{erl_opts, [
{d, 'GRISP_HRL'},
{d, 'EMULATION_BACKEND', {grisp2, grisp_emulation}}
]}
]}
]}
]}
]}.