Ignore warnings when building plt files for dependencies

As we don't generally care if a dependency has warnings, only the
target
This commit is contained in:
Rin Kuryloski 2023-04-14 18:22:02 +02:00
parent 32a7d6a8ae
commit 8a7eee6a86
42 changed files with 42 additions and 0 deletions

View File

@ -68,6 +68,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -67,6 +67,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -211,6 +211,7 @@ plt(
apps = plt_apps, apps = plt_apps,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -50,6 +50,7 @@ plt(
"@systemd//:erlang_app", "@systemd//:erlang_app",
"@osiris//:erlang_app", "@osiris//:erlang_app",
], ],
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -117,6 +117,7 @@ plt(
apps = EXTRA_APPS + ["mnesia"], apps = EXTRA_APPS + ["mnesia"],
plt = "//:base_plt", plt = "//:base_plt",
deps = RUNTIME_DEPS, deps = RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -58,6 +58,7 @@ plt(
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
plt = "//:base_plt", plt = "//:base_plt",
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS + RUNTIME_DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -49,6 +49,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -56,6 +56,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -72,6 +72,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -47,6 +47,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -49,6 +49,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS, deps = BUILD_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -90,6 +90,7 @@ plt(
"//deps/rabbit:erlang_app", "//deps/rabbit:erlang_app",
"//deps/rabbit_common:erlang_app", "//deps/rabbit_common:erlang_app",
], ],
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -46,6 +46,7 @@ plt(
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
plt = "//:base_plt", plt = "//:base_plt",
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -33,6 +33,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -52,6 +52,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -47,6 +47,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -49,6 +49,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
apps = EXTRA_APPS, apps = EXTRA_APPS,
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -80,6 +80,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
apps = EXTRA_APPS, apps = EXTRA_APPS,
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -69,6 +69,7 @@ plt(
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
plt = "//:base_plt", plt = "//:base_plt",
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -80,6 +80,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -43,6 +43,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -45,6 +45,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -39,6 +39,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -46,6 +46,7 @@ plt(
"@eetcd//:erlang_app", "@eetcd//:erlang_app",
RUNTIME_DEPS, RUNTIME_DEPS,
), ),
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -39,6 +39,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -48,6 +48,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS + RUNTIME_DEPS, deps = BUILD_DEPS + DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -37,6 +37,7 @@ plt(
name = "base_plt", name = "base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
plt = "//:base_plt", plt = "//:base_plt",
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -42,6 +42,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
apps = [ "mnesia" ], apps = [ "mnesia" ],
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -32,6 +32,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -46,6 +46,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -74,6 +74,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS + RUNTIME_DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -67,6 +67,7 @@ plt(
], ],
libs = ["//deps/rabbitmq_cli:elixir"], libs = ["//deps/rabbitmq_cli:elixir"],
deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS, deps = ["//deps/rabbitmq_cli:elixir"] + BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -28,6 +28,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS, deps = BUILD_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -42,6 +42,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -44,6 +44,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -53,6 +53,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -53,6 +53,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS + RUNTIME_DEPS, deps = DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -46,6 +46,7 @@ plt(
apps = EXTRA_APPS, apps = EXTRA_APPS,
plt = "//:base_plt", plt = "//:base_plt",
deps = DEPS, deps = DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -63,6 +63,7 @@ plt(
plt = "//:base_plt", plt = "//:base_plt",
apps = EXTRA_APPS, apps = EXTRA_APPS,
deps = BUILD_DEPS + DEPS + RUNTIME_DEPS, deps = BUILD_DEPS + DEPS + RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -38,6 +38,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = RUNTIME_DEPS, deps = RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -62,6 +62,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = BUILD_DEPS + DEPS, deps = BUILD_DEPS + DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(

View File

@ -38,6 +38,7 @@ plt(
name = "base_plt", name = "base_plt",
plt = "//:base_plt", plt = "//:base_plt",
deps = RUNTIME_DEPS, deps = RUNTIME_DEPS,
ignore_warnings = True,
) )
dialyze( dialyze(