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"}.