-
Notifications
You must be signed in to change notification settings - Fork 71
/
rebar_template.config
48 lines (43 loc) · 1.62 KB
/
rebar_template.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{{=@@ @@=}}
%% -*- mode: erlang -*-
{deps,
[ %% not all plugins have to depend on emqx
%% but if they do, use git_subdir in the default profile
{emqx, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx"}}
, {emqx_ctl, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_ctl"}}
, {emqx_utils, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_utils"}}
, {emqx_durable_storage, {git_subdir, "https://github.com/emqx/emqx.git", {tag, "@@emqx_vsn@@"}, "apps/emqx_durable_storage"}}
%% this is my plugin's dependency
, {map_sets, "1.1.0"}
]}.
{plugins, [
{emqx_plugrel, {git, "https://github.com/emqx/emqx_plugrel.git", {tag, "0.5.0"}}},
{erlfmt, "1.3.0"}
]}.
{erl_opts, [debug_info]}.
{relx, [ {release, {@@name@@, "@@version@@"}, %% this is the release version, different from app vsn in .app file
[ @@name@@
, map_sets
]}
, {dev_mode, false}
, {include_erts, false}
, {include_src, false}
]}.
%% Additional info of the plugin
{emqx_plugrel,
[ {authors, ["@@author_name@@"]}
, {builder,
[ {name, "@@author_name@@"}
, {contact, "@@author_email@@"}
, {website, "@@author_website@@"}
]}
, {repo, "@@repo@@"}
, {functionality, ["Demo"]}
, {compatibility,
[ {emqx, "~> 5.7"}
]}
, {description, "@@description@@"}
]
}.
{xref_checks,[undefined_function_calls,undefined_functions,locals_not_used,
deprecated_function_calls,warnings_as_errors,deprecated_functions]}.