From ad9ca0cc8644b0a89a05ea184483c1d7b8318fcd Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Fri, 14 Nov 2014 17:44:19 +0000 Subject: Built-in templates create the project directory --- priv/templates/plugin.template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'priv/templates/plugin.template') diff --git a/priv/templates/plugin.template b/priv/templates/plugin.template index a7e15cc..3419191 100644 --- a/priv/templates/plugin.template +++ b/priv/templates/plugin.template @@ -3,9 +3,9 @@ {name, "myplugin", "Name of the plugin"}, {desc, "A rebar plugin", "Short description of the plugin's purpose"} ]}. -{template, "plugin.erl.dtl", "src/{{name}}.erl"}. -{template, "otp_lib.app.src.dtl", "src/{{name}}.app.src"}. -{template, "rebar.config.dtl", "rebar.config"}. -{template, "gitignore.dtl", ".gitignore"}. -{template, "LICENSE.dtl", "LICENSE"}. -{template, "plugin_README.md.dtl", "README.md"}. +{template, "plugin.erl.dtl", "{{name}}/src/{{name}}.erl"}. +{template, "otp_lib.app.src.dtl", "{{name}}/src/{{name}}.app.src"}. +{template, "rebar.config.dtl", "{{name}}/rebar.config"}. +{template, "gitignore.dtl", "{{name}}/.gitignore"}. +{template, "LICENSE.dtl", "{{name}}/LICENSE"}. +{template, "plugin_README.md.dtl", "{{name}}/README.md"}. -- cgit v1.1