|
2 | 2 | {erl_opts, [debug_info]}.
|
3 | 3 | {deps, []}.
|
4 | 4 |
|
5 |
| -{relx, [{release, {@@name@@, "0.1.0"}, |
6 |
| - [@@name@@, |
7 |
| - sasl]}, |
| 5 | +{relx, [ |
| 6 | + {release, {@@name@@, "0.1.0"}, [ |
| 7 | + @@name@@, |
| 8 | + sasl |
| 9 | + ]}, |
8 | 10 |
|
9 |
| - {mode, dev}, |
| 11 | + {mode, dev}, |
10 | 12 |
|
11 |
| - %% automatically picked up if the files |
12 |
| - %% exist but can be set manually, which |
13 |
| - %% is required if the names aren't exactly |
14 |
| - %% sys.config and vm.args |
15 |
| - {sys_config, "./config/sys.config"}, |
16 |
| - {vm_args, "./config/vm.args"} |
| 13 | + %% automatically picked up if the files |
| 14 | + %% exist but can be set manually, which |
| 15 | + %% is required if the names aren't exactly |
| 16 | + %% sys.config and vm.args |
| 17 | + {sys_config, "./config/sys.config"}, |
| 18 | + {vm_args, "./config/vm.args"} |
17 | 19 |
|
18 |
| - %% the .src form of the configuration files do |
19 |
| - %% not require setting RELX_REPLACE_OS_VARS |
20 |
| - %% {sys_config_src, "./config/sys.config.src"}, |
21 |
| - %% {vm_args_src, "./config/vm.args.src"} |
| 20 | + %% the .src form of the configuration files do |
| 21 | + %% not require setting RELX_REPLACE_OS_VARS |
| 22 | + %% {sys_config_src, "./config/sys.config.src"}, |
| 23 | + %% {vm_args_src, "./config/vm.args.src"} |
22 | 24 | ]}.
|
23 | 25 |
|
24 |
| -{profiles, [{prod, [{relx, |
25 |
| - [%% prod is the default mode when prod |
26 |
| - %% profile is used, so does not have |
27 |
| - %% to be explicitly included like this |
28 |
| - {mode, prod} |
| 26 | +{profiles, [ |
| 27 | + %% prod is the default mode when prod |
| 28 | + %% profile is used, so does not have |
| 29 | + %% to be explicitly included like this |
| 30 | + {prod, [ |
| 31 | + {relx, [ |
| 32 | + {mode, prod} |
29 | 33 |
|
30 |
| - %% use minimal mode to exclude ERTS |
31 |
| - %% {mode, minimal} |
32 |
| - ] |
33 |
| - }]}]}. |
| 34 | + %% use minimal mode to exclude ERTS |
| 35 | + %% {mode, minimal} |
| 36 | + ]} |
| 37 | + ]} |
| 38 | +]}. |
0 commit comments