forked from cybergrind/rebar-templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ztmod.template
27 lines (27 loc) · 964 Bytes
/
ztmod.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{variables, [
{name, "mymodule"},
{module_title, "Zotonic Module Title"},
{module_priority, "500"},
{copyright_year, "2011"},
{author_name, "Susan Potter"},
{author_email,"[email protected]"},
{description, "<fill in description of Zotonic module here>."}
]}.
{dir, ["mod_{{name}}"]}.
{dir, ["mod_{{name}}", "actions"]}.
{dir, ["mod_{{name}}", "dispatch"]}.
{dir, ["mod_{{name}}", "lib"]}.
{dir, ["mod_{{name}}", "lib", "css"]}.
{dir, ["mod_{{name}}", "lib", "images"]}.
{dir, ["mod_{{name}}", "lib", "js"]}.
{dir, ["mod_{{name}}", "lib", "apps"]}.
{dir, ["mod_{{name}}", "lib", "modules"]}.
{dir, ["mod_{{name}}", "lib", "misc"]}.
{dir, ["mod_{{name}}", "resources"]}.
{dir, ["mod_{{name}}", "models"]}.
{dir, ["mod_{{name}}", "scomps"]}.
{dir, ["mod_{{name}}", "services"]}.
{dir, ["mod_{{name}}", "templates"]}.
{dir, ["mod_{{name}}", "filters"]}.
{dir, ["mod_{{name}}", "validators"]}.
{template, "ztmod.erl", "mod_{{name}}/mod_{{name}}.erl"}.