chore: major mode file variable for Emacs

This commit is contained in:
JimMoen 2022-01-13 15:48:07 +08:00
parent a935dcc1f5
commit 82e3565344
22 changed files with 56 additions and 10 deletions

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{deps,
[

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
warn_obsolete_guard,compressed]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
IsCentos6 = fun() ->
case file:read_file("/etc/centos-release") of
{ok, <<"CentOS release 6", _/binary >>} ->

View File

@ -1,6 +1,9 @@
{deps, [ {emqx, {path, "../emqx"}}
, {emqx_connector, {path, "../emqx_connector"}}
]}.
%% -*- mode: erlang -*-
{deps,
[ {emqx, {path, "../emqx"}}
, {emqx_connector, {path, "../emqx_connector"}}
]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info, nowarn_unused_import]}.
{deps, [ {emqx, {path, "../emqx"}}
, {emqx_connector, {path, "../emqx_connector"}}

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [
nowarn_unused_import,
debug_info

View File

@ -1,6 +1,9 @@
{deps, [ {typerefl, {git, "https://github.com/k32/typerefl", {tag, "0.8.6"}}}
, {emqx, {path, "../emqx"}}
]}.
%% -*- mode: erlang -*-
{deps,
[ {typerefl, {git, "https://github.com/k32/typerefl", {tag, "0.8.6"}}}
, {emqx, {path, "../emqx"}}
]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{deps, [
{emqx, {path, "../emqx"}},

View File

@ -1,2 +1,4 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,2 +1,5 @@
{deps, [ {emqx, {path, "../emqx"}}
]}.
%% -*- mode: erlang -*-
{deps,
[ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,2 +1,4 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,2 +1,4 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{deps,
[ {emqx, {path, "../emqx"}},
%% FIXME: tag this as v3.1.3

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [ debug_info
, nowarn_unused_import
%, {d, 'RESOURCE_DEBUG'}
@ -14,4 +16,3 @@
{deps, [ {jsx, {git, "https://github.com/talentdeficit/jsx", {tag, "v3.1.0"}}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,2 +1,4 @@
%% -*- mode: erlang -*-
{deps, [ {emqx, {path, "../emqx"}}
]}.

View File

@ -1,3 +1,5 @@
%% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{deps, [ {emqx, {path, "../emqx"}}
, {estatsd, {git, "https://github.com/emqx/estatsd", {tag, "0.1.0"}}}