diff options
Diffstat (limited to 'tictactoe-2/rebar.config')
-rw-r--r-- | tictactoe-2/rebar.config | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tictactoe-2/rebar.config b/tictactoe-2/rebar.config new file mode 100644 index 0000000..e08a4e2 --- /dev/null +++ b/tictactoe-2/rebar.config @@ -0,0 +1,32 @@ +{erl_opts, [debug_info]}. +{deps, []}. + +{relx, [{release, {tictactoe, "0.1.0"}, + [tictactoe, + sasl]}, + + {mode, dev}, + + %% automatically picked up if the files + %% exist but can be set manually, which + %% is required if the names aren't exactly + %% sys.config and vm.args + {sys_config, "./config/sys.config"}, + {vm_args, "./config/vm.args"} + + %% the .src form of the configuration files do + %% not require setting RELX_REPLACE_OS_VARS + %% {sys_config_src, "./config/sys.config.src"}, + %% {vm_args_src, "./config/vm.args.src"} +]}. + +{profiles, [{prod, [{relx, + [%% prod is the default mode when prod + %% profile is used, so does not have + %% to be explicitly included like this + {mode, prod} + + %% use minimal mode to exclude ERTS + %% {mode, minimal} + ] + }]}]}. |