summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Usewicz <piotr@layer22.com>2011-04-15 17:22:49 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-04-15 17:22:49 +0200
commitdf4e836c4e3a2e667f3bf232a52a12a5882ca727 (patch)
tree094234e1e061fa063d4afe6f25e40c17b20560c7
parent3638b1f896c2df4a16015bdd9214c32b3d4c4e45 (diff)
Add file local variables where appropriate
-rw-r--r--ebin/rebar.app3
-rw-r--r--priv/templates/simpleapp.template2
-rw-r--r--priv/templates/simplenode.vm.args2
-rw-r--r--rebar.config3
4 files changed, 7 insertions, 3 deletions
diff --git a/ebin/rebar.app b/ebin/rebar.app
index a99df4e..ecc302b 100644
--- a/ebin/rebar.app
+++ b/ebin/rebar.app
@@ -1,3 +1,6 @@
+%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
+%% ex: ts=4 sw=4 ft=erlang et
+
{application, rebar,
[{description, "Rebar: Erlang Build Tool"},
{vsn, "2"},
diff --git a/priv/templates/simpleapp.template b/priv/templates/simpleapp.template
index 733766e..2419a00 100644
--- a/priv/templates/simpleapp.template
+++ b/priv/templates/simpleapp.template
@@ -1,4 +1,4 @@
{variables, [{appid, "myapp"}]}.
{template, "simpleapp.app.src", "src/{{appid}}.app.src"}.
{template, "simpleapp_app.erl", "src/{{appid}}_app.erl"}.
-{template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}. \ No newline at end of file
+{template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}.
diff --git a/priv/templates/simplenode.vm.args b/priv/templates/simplenode.vm.args
index 89c3141..6009403 100644
--- a/priv/templates/simplenode.vm.args
+++ b/priv/templates/simplenode.vm.args
@@ -1,4 +1,3 @@
-
## Name of the node
-name {{nodeid}}@127.0.0.1
@@ -18,4 +17,3 @@
## Tweak GC to run more often
-env ERL_FULLSWEEP_AFTER 10
-
diff --git a/rebar.config b/rebar.config
index cd04153..815636b 100644
--- a/rebar.config
+++ b/rebar.config
@@ -1,3 +1,6 @@
+%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
+%% ex: ts=4 sw=4 ft=erlang et
+
{app_bin, ["priv/rebar"]}.
{erl_opts, [warnings_as_errors]}.
{xref_checks, [undefined_function_calls]}.