From 51133313a6eb44171a0eb4e3a087febf06bd8622 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Sun, 14 Feb 2010 09:25:53 -0700 Subject: Updating template defs to use "template" in lieu of "file" directive --- priv/templates/simplefsm.template | 2 +- priv/templates/simplemod.template | 4 ++-- priv/templates/simplesrv.template | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'priv') diff --git a/priv/templates/simplefsm.template b/priv/templates/simplefsm.template index edb6f56..179c739 100644 --- a/priv/templates/simplefsm.template +++ b/priv/templates/simplefsm.template @@ -1,2 +1,2 @@ {variables, [{fsmid, "myfsm"}]}. -{file, "simplefsm.erl", "src/{{fsmid}}.erl"}. +{template, "simplefsm.erl", "src/{{fsmid}}.erl"}. diff --git a/priv/templates/simplemod.template b/priv/templates/simplemod.template index 1de8cd0..04d61f3 100644 --- a/priv/templates/simplemod.template +++ b/priv/templates/simplemod.template @@ -1,3 +1,3 @@ {variables, [{modid, "mymod"}]}. -{file, "simplemod.erl", "src/{{modid}}.erl"}. -{file, "simplemod_tests.erl", "test/{{modid}}_tests.erl"}. +{template, "simplemod.erl", "src/{{modid}}.erl"}. +{template, "simplemod_tests.erl", "test/{{modid}}_tests.erl"}. diff --git a/priv/templates/simplesrv.template b/priv/templates/simplesrv.template index e72dd25..101844a 100644 --- a/priv/templates/simplesrv.template +++ b/priv/templates/simplesrv.template @@ -1,2 +1,2 @@ {variables, [{srvid, "myserver"}]}. -{file, "simplesrv.erl", "src/{{srvid}}.erl"}. +{template, "simplesrv.erl", "src/{{srvid}}.erl"}. -- cgit v1.1