Tighten up dialyzer usage
now that rules_erlang no longer cascades up dialyzer warnings from deps
This commit is contained in:
parent
9c4eba10fc
commit
226e00fcd2
|
@ -45,12 +45,12 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
||||
rabbitmq_home(
|
||||
|
|
|
@ -138,7 +138,7 @@ handle_event(cast, {unregister_session, _Session, OutgoingChannel, IncomingChann
|
|||
incoming_channels = IncomingChannels1},
|
||||
{keep_state, State1};
|
||||
handle_event(cast, close, _StateName, State = #state{socket = Socket}) ->
|
||||
close_socket(Socket),
|
||||
_ = close_socket(Socket),
|
||||
{stop, normal, State#state{socket = undefined}};
|
||||
|
||||
handle_event({call, From}, _Action, _State, _Data) ->
|
||||
|
|
|
@ -51,6 +51,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -224,6 +224,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = plt_apps,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load("//:rabbitmq.bzl", "APP_VERSION", "rabbitmq_app", "rabbitmq_suite")
|
||||
|
||||
APP_NAME = "rabbitmq_prelaunch"
|
||||
|
@ -35,8 +35,13 @@ xref(
|
|||
tags = ["xref"],
|
||||
)
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -48,10 +48,17 @@ xref(
|
|||
tags = ["xref"],
|
||||
)
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
# this ought to include BUILD_DEPS, but not sure how to
|
||||
# get dialyze of elixir code working yet
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
size = "medium",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -48,9 +48,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -53,6 +53,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -68,6 +68,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -10,6 +10,7 @@ load(
|
|||
"rabbitmq_app",
|
||||
"rabbitmq_integration_suite",
|
||||
"rabbitmq_suite",
|
||||
"without",
|
||||
)
|
||||
|
||||
APP_NAME = "rabbitmq_auth_backend_oauth2"
|
||||
|
@ -41,9 +42,17 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = without(
|
||||
"//deps/rabbitmq_cli:rabbitmqctl",
|
||||
BUILD_DEPS + DEPS,
|
||||
),
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -35,9 +35,13 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -35,9 +35,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -27,9 +27,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -44,9 +44,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -41,11 +41,15 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
||||
broker_for_integration_suites()
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -34,9 +34,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"APP_VERSION",
|
||||
|
@ -79,9 +79,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -63,10 +63,11 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = plt_apps,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -73,9 +73,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -42,6 +42,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -44,6 +44,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -35,9 +35,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -37,9 +37,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -35,9 +35,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -43,9 +43,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -27,9 +27,13 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -30,9 +30,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -26,9 +26,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load("//:rabbitmq_home.bzl", "rabbitmq_home")
|
||||
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||
load(
|
||||
|
@ -63,9 +63,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load("//:rabbitmq_home.bzl", "rabbitmq_home")
|
||||
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||
load(
|
||||
|
@ -39,11 +39,15 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
||||
rabbitmq_home(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -66,9 +66,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -7,6 +7,7 @@ load(
|
|||
"broker_for_integration_suites",
|
||||
"rabbitmq_app",
|
||||
"rabbitmq_integration_suite",
|
||||
"without",
|
||||
)
|
||||
|
||||
APP_NAME = "rabbitmq_stream"
|
||||
|
@ -53,9 +54,17 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = without(
|
||||
"//deps/rabbitmq_cli:rabbitmqctl",
|
||||
BUILD_DEPS + DEPS,
|
||||
),
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS + ["-Wno_behaviours"],
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load("//:rabbitmq_home.bzl", "rabbitmq_home")
|
||||
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||
load(
|
||||
|
@ -38,9 +38,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -37,9 +37,13 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -47,9 +47,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -54,6 +54,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -43,6 +43,7 @@ plt(
|
|||
name = "base_plt",
|
||||
apps = EXTRA_APPS,
|
||||
plt = "//:base_plt",
|
||||
deps = DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -53,9 +53,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -37,5 +37,4 @@ dialyze(
|
|||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
load("@rules_erlang//:erlc.bzl", "erlc")
|
||||
load("@rules_erlang//:xref.bzl", "xref")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze")
|
||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||
load(
|
||||
"//:rabbitmq.bzl",
|
||||
"RABBITMQ_DIALYZER_OPTS",
|
||||
|
@ -56,9 +56,14 @@ rabbitmq_app(
|
|||
|
||||
xref(tags = ["xref"])
|
||||
|
||||
plt(
|
||||
name = "base_plt",
|
||||
deps = BUILD_DEPS + DEPS,
|
||||
)
|
||||
|
||||
dialyze(
|
||||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
plt = ":base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
|
@ -37,5 +37,4 @@ dialyze(
|
|||
dialyzer_opts = RABBITMQ_DIALYZER_OPTS,
|
||||
plt = "//:base_plt",
|
||||
tags = ["dialyze"],
|
||||
warnings_as_errors = False,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue