summaryrefslogtreecommitdiff
path: root/priv/templates/relx_rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/relx_rebar.config')
-rw-r--r--priv/templates/relx_rebar.config20
1 files changed, 20 insertions, 0 deletions
diff --git a/priv/templates/relx_rebar.config b/priv/templates/relx_rebar.config
new file mode 100644
index 0000000..e7505eb
--- /dev/null
+++ b/priv/templates/relx_rebar.config
@@ -0,0 +1,20 @@
+{erl_opts, [debug_info]}.
+{deps, []}.
+
+{relx, [{release, {'{{name}}', "0.1.0"},
+ [{{name}},
+ sasl]},
+
+ {sys_config, "./config/sys.config"},
+ {vm_args, "./config/vm.args"},
+
+ {dev_mode, true},
+ {include_erts, false},
+
+ {extended_start_script, true}]
+}.
+
+{profiles, [{prod, [{relx, [{dev_mode, false},
+ {include_erts, true}]}]
+ }]
+}.