summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rebar.config.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/rebar.config.sample b/rebar.config.sample
index c75b01b..e450530 100644
--- a/rebar.config.sample
+++ b/rebar.config.sample
@@ -67,6 +67,13 @@
{"linux", "priv/hello_linux", ["c_src/hello_linux.c"]},
{"linux", "priv/hello_linux", ["c_src/*.c"], [{env, []}]}]}.
+%% == escriptize ==
+{escript_name, "application"}.
+{escript_incl_apps, []}.
+{escript_shebang, "#!/usr/bin/env escript\n"}.
+{escript_comment, "%%\n"}.
+{escript_emu_args, "%%! -pa ~s/~s/ebin\n"}.
+
%% == LFE Compiler ==
%% LFE files to compile before the rest