-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrebar.config
82 lines (75 loc) · 1.95 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
{deps, [
grisp,
{epmd, {git, "https://github.com/erlang/epmd", {ref, "4d1a59"}}},
certifi,
grisp_updater_grisp2,
grisp_connect
]}.
{erl_opts, [debug_info]}.
{plugins, [
rebar3_grisp,
rebar3_grisp_io
]}.
{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_demo"},
{source_url, "https://github.com/grisp/grisp_demo"}
]}.
{grisp, [
{otp, [{version, "27"}]},
{platform, grisp2},
{deploy, [
{destination, "/Volumes/GRISP"},
{pre_script, "rm -rf /Volumes/GRISP/*"},
{post_script, "diskutil umount /Volumes/GRISP"}
]}
]}.
{relx, [
{release, {grisp_demo, "1.1.0"}, [
sasl,
{epmd, none},
grisp_demo,
runtime_tools
]}
]}.
{profiles, [
{prod, [
{relx, [{sys_config, "config/sys.config"}]}
]},
{stage, [
{rebar3_grisp_io,[
{base_url, <<"https://app.stage.grisp.io">>}
]},
{relx, [{sys_config, "config/stage.config"}]}
]},
{dev, [
{rebar3_grisp_io,[
{base_url, <<"https://localhost:8443">>}
]},
{relx, [{sys_config, "config/dev.config"}]}
]},
{local, [
{rebar3_grisp_io,[
{base_url, <<"https://localhost:8443">>}
]},
{deps, [
{grisp_emulation, "0.2.2"}
]},
{overrides, [
{add, grisp_cryptoauth, [{erl_opts, [{d, 'EMULATE_CRYPTOAUTH'}]}]},
{add, grisp_updater, [{erl_opts, [{d, 'USE_UNSEALED_MANIFEST'}]}]},
{add, grisp_updater_grisp2, [{erl_opts, [{d, 'EMULATE_HARDWARE'}]}]}
]},
{shell, [
{apps, [grisp_emulation, grisp_demo]},
{config, "config/local.config"}
]}
]}
]}.