summaryrefslogtreecommitdiff
path: root/priv/templates/simplemod.template
diff options
context:
space:
mode:
authorOJ Reeves <oj@buffered.io>2010-02-03 21:56:30 +1000
committerOJ Reeves <oj@buffered.io>2010-02-03 21:56:30 +1000
commit6c359a08cde153f53cb735a134d8bedf1a99919b (patch)
tree61289898991ef2cc2e204e1bbffe939f9d7e6639 /priv/templates/simplemod.template
parent2734f2bcc2ece0256467bf527c14bf4dab7a7e67 (diff)
Added 3 new templates:
- simplefsm - Basic shell of a gen_fsm module - simplesrv - Basic shell of a gen_server module - simplemod - Basic shell of a module along with an associated test module.
Diffstat (limited to 'priv/templates/simplemod.template')
-rw-r--r--priv/templates/simplemod.template3
1 files changed, 3 insertions, 0 deletions
diff --git a/priv/templates/simplemod.template b/priv/templates/simplemod.template
new file mode 100644
index 0000000..1de8cd0
--- /dev/null
+++ b/priv/templates/simplemod.template
@@ -0,0 +1,3 @@
+{variables, [{modid, "mymod"}]}.
+{file, "simplemod.erl", "src/{{modid}}.erl"}.
+{file, "simplemod_tests.erl", "test/{{modid}}_tests.erl"}.