diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-05-09 13:23:59 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-05-09 13:23:59 -0500 |
commit | 6c72286bf9a60e9c2945a9a416762b175f5fe160 (patch) | |
tree | ac5d52fe1ed6330001bcdf12b1a3bac6a3119f10 /priv/templates/escript_mod.erl | |
parent | b904c5b57a4dbe393009da0bc6720c2a78a310e1 (diff) |
add escriptize project template
Diffstat (limited to 'priv/templates/escript_mod.erl')
-rw-r--r-- | priv/templates/escript_mod.erl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/priv/templates/escript_mod.erl b/priv/templates/escript_mod.erl new file mode 100644 index 0000000..f8a779b --- /dev/null +++ b/priv/templates/escript_mod.erl @@ -0,0 +1,17 @@ +-module({{name}}). + +%% API exports +-export([main/1]). + +%%==================================================================== +%% API functions +%%==================================================================== + +%% escript Entry point +main(Args) -> + io:format("Args: ~p~n", [Args]), + erlang:halt(0). + +%%==================================================================== +%% Internal functions +%%==================================================================== |