Преглед на файлове

Add file local variables where appropriate

pull/3/head
Piotr Usewicz преди 14 години
committed by Tuncer Ayaz
родител
ревизия
df4e836c4e
променени са 4 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. +3
    -0
      ebin/rebar.app
  2. +1
    -1
      priv/templates/simpleapp.template
  3. +0
    -2
      priv/templates/simplenode.vm.args
  4. +3
    -0
      rebar.config

+ 3
- 0
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"},

+ 1
- 1
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"}.

+ 0
- 2
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

+ 3
- 0
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]}.

Зареждане…
Отказ
Запис