summaryrefslogtreecommitdiff
path: root/priv/templates/escript_rebar.config
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/escript_rebar.config')
-rw-r--r--priv/templates/escript_rebar.config13
1 files changed, 13 insertions, 0 deletions
diff --git a/priv/templates/escript_rebar.config b/priv/templates/escript_rebar.config
new file mode 100644
index 0000000..196f835
--- /dev/null
+++ b/priv/templates/escript_rebar.config
@@ -0,0 +1,13 @@
+{erl_opts, [no_debug_info]}.
+{deps, []}.
+
+{escript_incl_apps,
+ [{{name}}]}.
+{escript_top_level_app, {{name}}}.
+{escript_name, {{name}}}.
+{escript_emu_args, "%%! +sbtu +A0\n"}.
+
+%% Profiles
+{profiles, [{test,
+ [{erl_opts, [debug_info]}
+ ]}]}.