summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-05-11 20:12:36 -0400
committerFred Hebert <mononcqc@ferd.ca>2015-05-11 20:12:36 -0400
commit22549108584cc03fbb879fa8117f620a0e1272b3 (patch)
treef96c03344fa35eddd27c1eef942e33455036200b
parent2940ec448807e5e7d16f90e8341124c0dc49cdb1 (diff)
parent84775fbcfa2713e6ffa24161c4c70a9cb55a3a8a (diff)
Merge pull request #423 from saa/sa-418-fix-style
Fix comma style in app.src templates
-rw-r--r--.gitignore1
-rw-r--r--priv/templates/otp_app.app.src20
-rw-r--r--priv/templates/otp_lib.app.src16
3 files changed, 20 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore
index c84f451..bd0314f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ logs
/.rebar
priv/templates/*.dtl.erl
ebin
+.edts
diff --git a/priv/templates/otp_app.app.src b/priv/templates/otp_app.app.src
index 5188f56..d5ea3d2 100644
--- a/priv/templates/otp_app.app.src
+++ b/priv/templates/otp_app.app.src
@@ -1,12 +1,12 @@
{application, {{name}},
- [{description, "{{desc}}"}
- ,{vsn, "0.1.0"}
- ,{registered, []}
- ,{mod, {'{{name}}_app', []}}
- ,{applications,
- [kernel
- ,stdlib
- ]}
- ,{env,[]}
- ,{modules, []}
+ [{description, "{{desc}}"},
+ {vsn, "0.1.0"},
+ {registered, []},
+ {mod, {'{{name}}_app', []}},
+ {applications,
+ [kernel,
+ stdlib
+ ]},
+ {env,[]},
+ {modules, []}
]}.
diff --git a/priv/templates/otp_lib.app.src b/priv/templates/otp_lib.app.src
index 3adefeb..6af7640 100644
--- a/priv/templates/otp_lib.app.src
+++ b/priv/templates/otp_lib.app.src
@@ -1,9 +1,11 @@
{application, {{name}},
- [{description, "{{desc}}"}
- ,{vsn, "0.1.0"}
- ,{registered, []}
- ,{applications,
- [kernel,stdlib]}
- ,{env,[]}
- ,{modules, []}
+ [{description, "{{desc}}"},
+ {vsn, "0.1.0"},
+ {registered, []},
+ {applications,
+ [kernel,
+ stdlib
+ ]},
+ {env,[]},
+ {modules, []}
]}.