summaryrefslogtreecommitdiff
path: root/priv/templates
diff options
context:
space:
mode:
Diffstat (limited to 'priv/templates')
-rw-r--r--priv/templates/app.template12
-rw-r--r--priv/templates/lib.template12
-rw-r--r--priv/templates/plugin.template12
-rw-r--r--priv/templates/release.template20
4 files changed, 28 insertions, 28 deletions
diff --git a/priv/templates/app.template b/priv/templates/app.template
index 78374af..b7bfebc 100644
--- a/priv/templates/app.template
+++ b/priv/templates/app.template
@@ -3,9 +3,9 @@
{name, "mylib", "Name of the OTP application"},
{desc, "An OTP application", "Short description of the app"}
]}.
-{template, "app.erl.dtl", "src/{{name}}_app.erl"}.
-{template, "otp_app.app.src.dtl", "src/{{name}}.app.src"}.
-{template, "rebar.config.dtl", "rebar.config"}.
-{template, "gitignore.dtl", ".gitignore"}.
-{template, "LICENSE.dtl", "LICENSE"}.
-{template, "README.md.dtl", "README.md"}.
+{template, "app.erl.dtl", "{{name}}/src/{{name}}_app.erl"}.
+{template, "otp_app.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, "README.md.dtl", "{{name}}/README.md"}.
diff --git a/priv/templates/lib.template b/priv/templates/lib.template
index 1db3b07..4b9a75d 100644
--- a/priv/templates/lib.template
+++ b/priv/templates/lib.template
@@ -3,9 +3,9 @@
{name, "mylib", "Name of the OTP library application"},
{desc, "An OTP library", "Short description of the app"}
]}.
-{template, "mod.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, "README.md.dtl", "README.md"}.
+{template, "mod.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, "README.md.dtl", "{{name}}/README.md"}.
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"}.
diff --git a/priv/templates/release.template b/priv/templates/release.template
index 3539392..eb8e6ab 100644
--- a/priv/templates/release.template
+++ b/priv/templates/release.template
@@ -3,13 +3,13 @@
{name, "myapp", "Name of the OTP release. An app with this name will also be created."},
{desc, "An OTP application", "Short description of the release's main app's purpose"}
]}.
-{template, "app.erl.dtl", "{{apps_dir}}/{{name}}/src/{{name}}_app.erl"}.
-{template, "sup.erl.dtl", "{{apps_dir}}/{{name}}/src/{{name}}_sup.erl"}.
-{template, "otp_app.app.src.dtl", "{{apps_dir}}/{{name}}/src/{{name}}.app.src"}.
-{template, "rebar.config.dtl", "rebar.config"}.
-{template, "relx.config.dtl", "relx.config"}.
-{template, "sys.config.dtl", "config/sys.config"}.
-{template, "vm.args.dtl", "config/vm.args"}.
-{template, "gitignore.dtl", ".gitignore"}.
-{template, "LICENSE.dtl", "LICENSE"}.
-{template, "README.md.dtl", "README.md"}.
+{template, "app.erl.dtl", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}_app.erl"}.
+{template, "sup.erl.dtl", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}_sup.erl"}.
+{template, "otp_app.app.src.dtl", "{{name}}/{{apps_dir}}/{{name}}/src/{{name}}.app.src"}.
+{template, "rebar.config.dtl", "{{name}}/rebar.config"}.
+{template, "relx.config.dtl", "{{name}}/relx.config"}.
+{template, "sys.config.dtl", "{{name}}/config/sys.config"}.
+{template, "vm.args.dtl", "{{name}}/config/vm.args"}.
+{template, "gitignore.dtl", "{{name}}/.gitignore"}.
+{template, "LICENSE.dtl", "{{name}}/LICENSE"}.
+{template, "README.md.dtl", "{{name}}/README.md"}.