From 2e5496f5f5f3c39bd1e23b4601d1e89d4d2c9767 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 28 Apr 2015 19:50:55 -0500 Subject: remove use of erlydtl in rebar --- priv/templates/app.erl | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 priv/templates/app.erl (limited to 'priv/templates/app.erl') diff --git a/priv/templates/app.erl b/priv/templates/app.erl new file mode 100644 index 0000000..83eb9a3 --- /dev/null +++ b/priv/templates/app.erl @@ -0,0 +1,27 @@ +%%%------------------------------------------------------------------- +%% @doc {{name}} public API +%% @end +%%%------------------------------------------------------------------- + +-module({{name}}_app). + +-behaviour(application). + +%% Application callbacks +-export([start/2 + ,stop/1]). + +%%==================================================================== +%% API +%%==================================================================== + +start(_StartType, _StartArgs) -> + {{name}}_sup:start_link(). + +%%-------------------------------------------------------------------- +stop(_State) -> + ok. + +%%==================================================================== +%% Internal functions +%%==================================================================== -- cgit v1.1