From a6617bdaff5c5c9397bca55360703963e9456490 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Mon, 19 Nov 2012 23:42:07 +0100 Subject: [PATCH] rebar.config.sample: document escriptize options --- rebar.config.sample | 7 +++++++ 1 file changed, 7 insertions(+) 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