summaryrefslogtreecommitdiff
path: root/priv/templates/simpleapp_app.erl
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2010-01-07 22:18:55 -0700
committerDave Smith <dizzyd@dizzyd.com>2010-01-07 22:18:55 -0700
commit2d9af6cf485466d1b4e81707a8bb3ad8ebcd238b (patch)
treef3fd554e0157cfdfd8d4536a29ac947e37021cf6 /priv/templates/simpleapp_app.erl
parent3ed1b99438b3a0990f1f36d8aad69d7b82ccf663 (diff)
Sketching out templating system
Diffstat (limited to 'priv/templates/simpleapp_app.erl')
-rw-r--r--priv/templates/simpleapp_app.erl16
1 files changed, 16 insertions, 0 deletions
diff --git a/priv/templates/simpleapp_app.erl b/priv/templates/simpleapp_app.erl
new file mode 100644
index 0000000..1af863b
--- /dev/null
+++ b/priv/templates/simpleapp_app.erl
@@ -0,0 +1,16 @@
+-module({{appid}}_app).
+
+-behaviour(application).
+
+%% Application callbacks
+-export([start/2, stop/1]).
+
+%% ===================================================================
+%% Application callbacks
+%% ===================================================================
+
+start(_StartType, _StartArgs) ->
+ {{appid}}_sup:start_link().
+
+stop(_State) ->
+ ok.