summaryrefslogtreecommitdiff
path: root/priv/templates/app.erl.dtl
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates/app.erl.dtl')
-rw-r--r--priv/templates/app.erl.dtl27
1 files changed, 27 insertions, 0 deletions
diff --git a/priv/templates/app.erl.dtl b/priv/templates/app.erl.dtl
new file mode 100644
index 0000000..1c3e8f2
--- /dev/null
+++ b/priv/templates/app.erl.dtl
@@ -0,0 +1,27 @@
+%%%-------------------------------------------------------------------
+%% @doc {{appid}} public API
+%% @end
+%%%-------------------------------------------------------------------
+
+-module({{appid}}_app).
+
+-behaviour(application).
+
+%% Application callbacks
+-export([start/2
+ ,stop/1]).
+
+%%====================================================================
+%% API
+%%====================================================================
+
+start(_StartType, _StartArgs) ->
+ {{appid}}_sup:start_link().
+
+%%--------------------------------------------------------------------
+stop(_State) ->
+ ok.
+
+%%====================================================================
+%% Internal functions
+%%====================================================================