-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrebar.config
50 lines (46 loc) · 1.23 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
{erl_opts, [debug_info]}.
{deps, [
grisp,
{gun, "1.3.3"},
{grisp_cryptoauth, "2.4.0"},
grisp_updater
]}.
{project_plugins, [rebar3_ex_doc]}.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{extras, [
{"CHANGELOG.md", #{title => "Changelog"}},
{"README.md", #{title => "Overview"}},
{"LICENSE", #{title => "License"}}
]},
{main, "README.md"},
{homepage_url, "https://github.com/grisp/grisp_updater_grisp2"},
{source_url, "https://github.com/grisp/grisp_updater_grisp2"}
]}.
{relx, [
{release, {grisp_updater_grisp2, "0.2.0"}, [grisp_updater_grisp2]}
]}.
{profiles, [
{prod, [
{relx, [{sys_config, "config/sys.config"}]}
]},
{dev, [
{relx, [{sys_config, "config/dev.config"}]}
]},
{local, [
{deps, [
{grisp_emulation, "0.2.2"}
]},
{erl_opts, [
{d, 'EMULATE_HARDWARE'}
]},
{overrides, [
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]},
{add, grisp_updater, [{erl_opts, [{d, 'USE_UNSEALED_MANIFEST'}]}]}
]},
{shell, [
{apps, [grisp_emulation, grisp_updater_grisp2]},
{config, "config/local.config"}
]}
]}
]}.