diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-11-19 23:42:07 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-11-19 23:42:07 +0100 |
commit | a6617bdaff5c5c9397bca55360703963e9456490 (patch) | |
tree | d2e26c40ddb292cdd279d3759ba535bc635e36e5 | |
parent | e74a0feb05750fb803a734b0c1985fe166044372 (diff) |
rebar.config.sample: document escriptize options
-rw-r--r-- | rebar.config.sample | 7 |
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 |