summaryrefslogtreecommitdiff
path: root/priv/templates/plugin.template
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-11-14 17:44:19 +0000
committerFred Hebert <mononcqc@ferd.ca>2014-11-14 17:44:19 +0000
commitad9ca0cc8644b0a89a05ea184483c1d7b8318fcd (patch)
tree4720475fc96ecdd5fb2eb87147fee7a3131c93fc /priv/templates/plugin.template
parent284a5972fab4195f4f99d655bd2fbeecf1648858 (diff)
Built-in templates create the project directory
Diffstat (limited to 'priv/templates/plugin.template')
-rw-r--r--priv/templates/plugin.template12
1 files changed, 6 insertions, 6 deletions
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"}.