Bring over PROJECT_APP_EXTRA_KEYS values from make to bazel
This commit is contained in:
parent
a22234f6eb
commit
2dd9bde891
|
@ -49,6 +49,25 @@ genrule(
|
||||||
app_file(
|
app_file(
|
||||||
name = "app_file",
|
name = "app_file",
|
||||||
app_description = "Modules shared by rabbitmq-amqp1.0 and rabbitmq-amqp1.0-client",
|
app_description = "Modules shared by rabbitmq-amqp1.0 and rabbitmq-amqp1.0-client",
|
||||||
|
app_extra = """%% Hex.pm package informations.
|
||||||
|
{licenses, ["MPL-2.0"]},
|
||||||
|
{links, [
|
||||||
|
{"Website", "https://www.rabbitmq.com/"},
|
||||||
|
{"GitHub", "https://github.com/rabbitmq/rabbitmq-server/deps/amqp10_common"}
|
||||||
|
]},
|
||||||
|
{build_tools, ["make", "rebar3"]},
|
||||||
|
{files, [
|
||||||
|
"erlang.mk",
|
||||||
|
"git-revisions.txt",
|
||||||
|
"include",
|
||||||
|
"LICENSE*",
|
||||||
|
"Makefile",
|
||||||
|
"rabbitmq-components.mk",
|
||||||
|
"README",
|
||||||
|
"README.md",
|
||||||
|
"mk"
|
||||||
|
]}
|
||||||
|
""",
|
||||||
app_name = "amqp10_common",
|
app_name = "amqp10_common",
|
||||||
app_version = APP_VERSION,
|
app_version = APP_VERSION,
|
||||||
modules = [":beam_files"],
|
modules = [":beam_files"],
|
||||||
|
|
|
@ -16,6 +16,26 @@ APP_ENV = """[
|
||||||
{writer_gc_threshold, 1000000000}
|
{writer_gc_threshold, 1000000000}
|
||||||
]"""
|
]"""
|
||||||
|
|
||||||
|
APP_EXTRA_KEYS = """%% Hex.pm package informations.
|
||||||
|
{licenses, ["MPL-2.0"]},
|
||||||
|
{links, [
|
||||||
|
{"Website", "https://www.rabbitmq.com/"},
|
||||||
|
{"GitHub", "https://github.com/rabbitmq/rabbitmq-server/deps/amqp_client"},
|
||||||
|
{"User guide", "https://www.rabbitmq.com/erlang-client-user-guide.html"}
|
||||||
|
]},
|
||||||
|
{build_tools, ["make", "rebar3"]},
|
||||||
|
{files, [
|
||||||
|
"erlang.mk",
|
||||||
|
"git-revisions.txt",
|
||||||
|
"include",
|
||||||
|
"LICENSE*",
|
||||||
|
"Makefile",
|
||||||
|
"rabbitmq-components.mk",
|
||||||
|
"README",
|
||||||
|
"README.md"
|
||||||
|
]}
|
||||||
|
"""
|
||||||
|
|
||||||
EXTRA_APPS = [
|
EXTRA_APPS = [
|
||||||
"xmerl",
|
"xmerl",
|
||||||
]
|
]
|
||||||
|
@ -27,6 +47,7 @@ DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = "RabbitMQ AMQP Client",
|
app_description = "RabbitMQ AMQP Client",
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = APP_EXTRA_KEYS,
|
||||||
app_module = "amqp_client",
|
app_module = "amqp_client",
|
||||||
app_name = "amqp_client",
|
app_name = "amqp_client",
|
||||||
app_registered = [
|
app_registered = [
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
load("@rules_erlang//:erlang_app.bzl", "erlang_app")
|
load("@rules_erlang//:erlang_app.bzl", "erlang_app")
|
||||||
|
load("//:rabbitmq.bzl", "BROKER_VERSION_REQUIREMENTS_ANY")
|
||||||
|
|
||||||
DEPS = [
|
DEPS = [
|
||||||
"//deps/rabbit_common:erlang_app",
|
"//deps/rabbit_common:erlang_app",
|
||||||
|
@ -7,6 +8,7 @@ DEPS = [
|
||||||
|
|
||||||
erlang_app(
|
erlang_app(
|
||||||
app_description = "Plugin to test feature flags",
|
app_description = "Plugin to test feature flags",
|
||||||
|
app_extra = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = "my_plugin",
|
app_name = "my_plugin",
|
||||||
app_version = "1.0.0",
|
app_version = "1.0.0",
|
||||||
deps = DEPS,
|
deps = DEPS,
|
||||||
|
|
|
@ -66,6 +66,27 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
APP_NAME = "rabbit_common"
|
APP_NAME = "rabbit_common"
|
||||||
|
|
||||||
|
APP_EXTRA_KEYS = """
|
||||||
|
%% Hex.pm package informations.
|
||||||
|
{licenses, ["MPL-2.0"]},
|
||||||
|
{links, [
|
||||||
|
{"Website", "https://www.rabbitmq.com/"},
|
||||||
|
{"GitHub", "https://github.com/rabbitmq/rabbitmq-common"}
|
||||||
|
]},
|
||||||
|
{build_tools, ["make", "rebar3"]},
|
||||||
|
{files, [
|
||||||
|
"erlang.mk",
|
||||||
|
"git-revisions.txt",
|
||||||
|
"include",
|
||||||
|
"LICENSE*",
|
||||||
|
"Makefile",
|
||||||
|
"rabbitmq-components.mk",
|
||||||
|
"README",
|
||||||
|
"README.md",
|
||||||
|
"mk"
|
||||||
|
]}
|
||||||
|
"""
|
||||||
|
|
||||||
EXTRA_APPS = [
|
EXTRA_APPS = [
|
||||||
"compiler",
|
"compiler",
|
||||||
"crypto",
|
"crypto",
|
||||||
|
@ -82,6 +103,7 @@ HDRS = glob(["include/*.hrl"]) + ["include/rabbit_framing.hrl"]
|
||||||
app_file(
|
app_file(
|
||||||
name = "app_file",
|
name = "app_file",
|
||||||
app_description = "Modules shared by rabbitmq-server and rabbitmq-erlang-client",
|
app_description = "Modules shared by rabbitmq-server and rabbitmq-erlang-client",
|
||||||
|
app_extra = APP_EXTRA_KEYS,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
app_version = APP_VERSION,
|
app_version = APP_VERSION,
|
||||||
extra_apps = EXTRA_APPS,
|
extra_apps = EXTRA_APPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -37,6 +38,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -35,6 +36,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -40,6 +41,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
extra_apps = EXTRA_APPS,
|
extra_apps = EXTRA_APPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -55,6 +56,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
extra_apps = EXTRA_APPS,
|
extra_apps = EXTRA_APPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"rabbitmq_app",
|
"rabbitmq_app",
|
||||||
)
|
)
|
||||||
|
@ -27,6 +28,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -27,6 +28,7 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -21,6 +22,7 @@ DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
deps = DEPS,
|
deps = DEPS,
|
||||||
)
|
)
|
||||||
|
|
|
@ -3,6 +3,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"RABBITMQ_TEST_ERLC_OPTS",
|
"RABBITMQ_TEST_ERLC_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
|
@ -36,6 +37,7 @@ DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -32,6 +33,7 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -4,6 +4,7 @@ load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
"APP_VERSION",
|
"APP_VERSION",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -64,6 +65,7 @@ sed 's/%%VSN%%/{}/' $< > $@
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
extra_apps = EXTRA_APPS,
|
extra_apps = EXTRA_APPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -46,6 +47,7 @@ DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -3,6 +3,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"RABBITMQ_TEST_ERLC_OPTS",
|
"RABBITMQ_TEST_ERLC_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
|
@ -59,6 +60,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -23,6 +24,7 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
deps = DEPS,
|
deps = DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -20,6 +21,7 @@ DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
deps = DEPS,
|
deps = DEPS,
|
||||||
)
|
)
|
||||||
|
|
|
@ -5,6 +5,7 @@ load("//:rabbitmq_home.bzl", "rabbitmq_home")
|
||||||
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"RABBITMQ_TEST_ERLC_OPTS",
|
"RABBITMQ_TEST_ERLC_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
|
@ -50,6 +51,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -4,6 +4,7 @@ load("//:rabbitmq_home.bzl", "rabbitmq_home")
|
||||||
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"rabbitmq_app",
|
"rabbitmq_app",
|
||||||
|
@ -32,6 +33,7 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
runtime_deps = RUNTIME_DEPS,
|
runtime_deps = RUNTIME_DEPS,
|
||||||
|
|
|
@ -3,6 +3,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"RABBITMQ_TEST_ERLC_OPTS",
|
"RABBITMQ_TEST_ERLC_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
|
@ -57,6 +58,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"rabbitmq_app",
|
"rabbitmq_app",
|
||||||
)
|
)
|
||||||
|
@ -28,6 +29,7 @@ RUNTIME_DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -2,6 +2,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"broker_for_integration_suites",
|
"broker_for_integration_suites",
|
||||||
|
@ -38,6 +39,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -5,6 +5,7 @@ load("//:rabbitmq_run.bzl", "rabbitmq_run")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
"APP_VERSION",
|
"APP_VERSION",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
"rabbitmq_app",
|
"rabbitmq_app",
|
||||||
|
@ -30,6 +31,7 @@ DEPS = [
|
||||||
|
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
app_version = APP_VERSION,
|
app_version = APP_VERSION,
|
||||||
|
|
|
@ -3,6 +3,7 @@ load("@rules_erlang//:xref.bzl", "xref")
|
||||||
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
load("@rules_erlang//:dialyze.bzl", "dialyze", "plt")
|
||||||
load(
|
load(
|
||||||
"//:rabbitmq.bzl",
|
"//:rabbitmq.bzl",
|
||||||
|
"BROKER_VERSION_REQUIREMENTS_ANY",
|
||||||
"RABBITMQ_DIALYZER_OPTS",
|
"RABBITMQ_DIALYZER_OPTS",
|
||||||
"RABBITMQ_TEST_ERLC_OPTS",
|
"RABBITMQ_TEST_ERLC_OPTS",
|
||||||
"assert_suites",
|
"assert_suites",
|
||||||
|
@ -47,6 +48,7 @@ RUNTIME_DEPS = [
|
||||||
rabbitmq_app(
|
rabbitmq_app(
|
||||||
app_description = APP_DESCRIPTION,
|
app_description = APP_DESCRIPTION,
|
||||||
app_env = APP_ENV,
|
app_env = APP_ENV,
|
||||||
|
app_extra_keys = BROKER_VERSION_REQUIREMENTS_ANY,
|
||||||
app_module = APP_MODULE,
|
app_module = APP_MODULE,
|
||||||
app_name = APP_NAME,
|
app_name = APP_NAME,
|
||||||
build_deps = BUILD_DEPS,
|
build_deps = BUILD_DEPS,
|
||||||
|
|
|
@ -39,6 +39,10 @@ RABBITMQ_DIALYZER_OPTS = [
|
||||||
|
|
||||||
APP_VERSION = "3.10.0"
|
APP_VERSION = "3.10.0"
|
||||||
|
|
||||||
|
BROKER_VERSION_REQUIREMENTS_ANY = """
|
||||||
|
{broker_version_requirements, []}
|
||||||
|
"""
|
||||||
|
|
||||||
ALL_PLUGINS = [
|
ALL_PLUGINS = [
|
||||||
"//deps/rabbit:erlang_app",
|
"//deps/rabbit:erlang_app",
|
||||||
"//deps/rabbitmq_amqp1_0:erlang_app",
|
"//deps/rabbitmq_amqp1_0:erlang_app",
|
||||||
|
|
Loading…
Reference in New Issue