Skip to content

Commit

Permalink
refactor: rm plugin Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
U-JOHNLIU\jonhl committed Jan 4, 2022
1 parent 533bade commit 32d53fe
Show file tree
Hide file tree
Showing 64 changed files with 618 additions and 571 deletions.
1 change: 0 additions & 1 deletion apps/dgiot/erlang.mk

This file was deleted.

17 changes: 0 additions & 17 deletions apps/dgiot_api/Makefile

This file was deleted.

23 changes: 23 additions & 0 deletions apps/dgiot_api/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,26 @@
% {config, "config/sys.config"},
{apps, [dgiot_api]}
]}.

{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
26 changes: 24 additions & 2 deletions apps/dgiot_bridge/rebar.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
{deps, [
]}.
{deps, []}.

{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
1 change: 0 additions & 1 deletion apps/dgiot_device/erlang.mk

This file was deleted.

23 changes: 23 additions & 0 deletions apps/dgiot_device/rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
{deps, [
{ibrowse, {git, "https://gitee.com/fastdgiot/ibrowse.git", {tag, "v4.4.2"}}}
]}.

{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
17 changes: 0 additions & 17 deletions apps/dgiot_evidence/.travis.yml

This file was deleted.

22 changes: 0 additions & 22 deletions apps/dgiot_evidence/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion apps/dgiot_evidence/erlang.mk

This file was deleted.

25 changes: 23 additions & 2 deletions apps/dgiot_evidence/rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
{deps, [
{deps, []}.

]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
43 changes: 0 additions & 43 deletions apps/dgiot_ffmpeg/Makefile

This file was deleted.

11 changes: 4 additions & 7 deletions apps/dgiot_ffmpeg/rebar.config
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
{deps,
[{minirest, {git, "https://github.com/emqx/minirest", {tag, "v0.2.6"}}},
{cuttlefish, {git, "https://github.com/emqx/cuttlefish", {tag, "v3.0.0"}}}
]}.
{deps, []}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://github.com/emqx/emqx-ct-helpers", {branch, "develop"}}},
{emqtt, {git, "https://github.com/emqx/emqtt", {tag, "1.1.1"}}},
meck
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}},
meck
]}
]}
]}.
Expand Down
24 changes: 0 additions & 24 deletions apps/dgiot_gb26875/Makefile

This file was deleted.

19 changes: 0 additions & 19 deletions apps/dgiot_group/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion apps/dgiot_group/erlang.mk

This file was deleted.

25 changes: 23 additions & 2 deletions apps/dgiot_group/rebar.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
{deps, [
{deps, []}.

]}.
{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
22 changes: 0 additions & 22 deletions apps/dgiot_grpc/Makefile

This file was deleted.

1 change: 0 additions & 1 deletion apps/dgiot_grpc/erlang.mk

This file was deleted.

17 changes: 0 additions & 17 deletions apps/dgiot_http/Makefile

This file was deleted.

24 changes: 24 additions & 0 deletions apps/dgiot_http/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,27 @@
% {config, "config/sys.config"},
{apps, [dgiot_http]}
]}.


{edoc_opts, [{preprocess, true}]}.
{erl_opts, [warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_obsolete_guard,
debug_info,
{parse_transform}]}.

{xref_checks, [undefined_function_calls, undefined_functions,
locals_not_used, deprecated_function_calls,
warnings_as_errors, deprecated_functions]}.
{cover_enabled, true}.
{cover_opts, [verbose]}.
{cover_export_enabled, true}.

{profiles,
[{test,
[{deps,
[{emqx_ct_helpers, {git, "https://gitee.com/fastdgiot/emqx-ct-helpers", {tag, "1.2.2"}}},
{emqtt, {git, "https://gitee.com/fastdgiot/emqtt", {tag, "1.2.3"}}}]}
]}
]}.
Loading

0 comments on commit 32d53fe

Please sign in to comment.