Skip to content

Commit

Permalink
Add file local variables where appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
pusewicz authored and Tuncer Ayaz committed Apr 15, 2011
1 parent 3638b1f commit df4e836
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions 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"},
Expand Down
2 changes: 1 addition & 1 deletion 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"}.
{template, "simpleapp_sup.erl", "src/{{appid}}_sup.erl"}.
2 changes: 0 additions & 2 deletions priv/templates/simplenode.vm.args
@@ -1,4 +1,3 @@

## Name of the node
-name {{nodeid}}@127.0.0.1

Expand All @@ -18,4 +17,3 @@

## Tweak GC to run more often
-env ERL_FULLSWEEP_AFTER 10

3 changes: 3 additions & 0 deletions 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]}.

0 comments on commit df4e836

Please sign in to comment.