chore: major mode file variable for Emacs
This commit is contained in:
parent
a935dcc1f5
commit
82e3565344
|
@ -1,5 +1,7 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
{deps,
|
{deps,
|
||||||
[
|
[
|
||||||
{minirest, {git, "https://github.com/emqx/minirest.git", {tag, "0.3.6"}}}
|
{minirest, {git, "https://github.com/emqx/minirest.git", {tag, "0.3.6"}}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
|
{erl_opts, [warn_unused_vars,warn_shadow_vars,warn_unused_import,
|
||||||
warn_obsolete_guard,compressed]}.
|
warn_obsolete_guard,compressed]}.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
IsCentos6 = fun() ->
|
IsCentos6 = fun() ->
|
||||||
case file:read_file("/etc/centos-release") of
|
case file:read_file("/etc/centos-release") of
|
||||||
{ok, <<"CentOS release 6", _/binary >>} ->
|
{ok, <<"CentOS release 6", _/binary >>} ->
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
%% -*- mode: erlang -*-
|
||||||
, {emqx_connector, {path, "../emqx_connector"}}
|
|
||||||
]}.
|
{deps,
|
||||||
|
[ {emqx, {path, "../emqx"}}
|
||||||
|
, {emqx_connector, {path, "../emqx_connector"}}
|
||||||
|
]}.
|
||||||
|
|
||||||
{edoc_opts, [{preprocess, true}]}.
|
{edoc_opts, [{preprocess, true}]}.
|
||||||
{erl_opts, [warn_unused_vars,
|
{erl_opts, [warn_unused_vars,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info, nowarn_unused_import]}.
|
{erl_opts, [debug_info, nowarn_unused_import]}.
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
, {emqx_connector, {path, "../emqx_connector"}}
|
, {emqx_connector, {path, "../emqx_connector"}}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [
|
{erl_opts, [
|
||||||
nowarn_unused_import,
|
nowarn_unused_import,
|
||||||
debug_info
|
debug_info
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{deps, [ {typerefl, {git, "https://github.com/k32/typerefl", {tag, "0.8.6"}}}
|
%% -*- mode: erlang -*-
|
||||||
, {emqx, {path, "../emqx"}}
|
|
||||||
]}.
|
{deps,
|
||||||
|
[ {typerefl, {git, "https://github.com/k32/typerefl", {tag, "0.8.6"}}}
|
||||||
|
, {emqx, {path, "../emqx"}}
|
||||||
|
]}.
|
||||||
|
|
||||||
{edoc_opts, [{preprocess, true}]}.
|
{edoc_opts, [{preprocess, true}]}.
|
||||||
{erl_opts, [warn_unused_vars,
|
{erl_opts, [warn_unused_vars,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
{deps, [
|
{deps, [
|
||||||
{emqx, {path, "../emqx"}},
|
{emqx, {path, "../emqx"}},
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,5 @@
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
%% -*- mode: erlang -*-
|
||||||
]}.
|
|
||||||
|
{deps,
|
||||||
|
[ {emqx, {path, "../emqx"}}
|
||||||
|
]}.
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps,
|
{deps,
|
||||||
[ {emqx, {path, "../emqx"}},
|
[ {emqx, {path, "../emqx"}},
|
||||||
%% FIXME: tag this as v3.1.3
|
%% FIXME: tag this as v3.1.3
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [ debug_info
|
{erl_opts, [ debug_info
|
||||||
, nowarn_unused_import
|
, nowarn_unused_import
|
||||||
%, {d, 'RESOURCE_DEBUG'}
|
%, {d, 'RESOURCE_DEBUG'}
|
||||||
|
@ -14,4 +16,3 @@
|
||||||
|
|
||||||
{deps, [ {jsx, {git, "https://github.com/talentdeficit/jsx", {tag, "v3.1.0"}}}
|
{deps, [ {jsx, {git, "https://github.com/talentdeficit/jsx", {tag, "v3.1.0"}}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
%% -*- mode: erlang -*-
|
||||||
|
|
||||||
{erl_opts, [debug_info]}.
|
{erl_opts, [debug_info]}.
|
||||||
{deps, [ {emqx, {path, "../emqx"}}
|
{deps, [ {emqx, {path, "../emqx"}}
|
||||||
, {estatsd, {git, "https://github.com/emqx/estatsd", {tag, "0.1.0"}}}
|
, {estatsd, {git, "https://github.com/emqx/estatsd", {tag, "0.1.0"}}}
|
||||||
|
|
Loading…
Reference in New Issue