Add file local variables where appropriate

This commit is contained in:
Piotr Usewicz 2011-04-15 17:22:49 +02:00 committed by Tuncer Ayaz
parent 3638b1f896
commit df4e836c4e
4 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,6 @@
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
{application, rebar, {application, rebar,
[{description, "Rebar: Erlang Build Tool"}, [{description, "Rebar: Erlang Build Tool"},
{vsn, "2"}, {vsn, "2"},

View file

@ -1,4 +1,4 @@
{variables, [{appid, "myapp"}]}. {variables, [{appid, "myapp"}]}.
{template, "simpleapp.app.src", "src/{{appid}}.app.src"}. {template, "simpleapp.app.src", "src/{{appid}}.app.src"}.
{template, "simpleapp_app.erl", "src/{{appid}}_app.erl"}. {template, "simpleapp_app.erl", "src/{{appid}}_app.erl"}.
{template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}. {template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}.

View file

@ -1,4 +1,3 @@
## Name of the node ## Name of the node
-name {{nodeid}}@127.0.0.1 -name {{nodeid}}@127.0.0.1
@ -18,4 +17,3 @@
## Tweak GC to run more often ## Tweak GC to run more often
-env ERL_FULLSWEEP_AFTER 10 -env ERL_FULLSWEEP_AFTER 10

View file

@ -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"]}. {app_bin, ["priv/rebar"]}.
{erl_opts, [warnings_as_errors]}. {erl_opts, [warnings_as_errors]}.
{xref_checks, [undefined_function_calls]}. {xref_checks, [undefined_function_calls]}.