Expose the "start-background-broker" CMD

This commit is contained in:
Simon Unge 2023-09-19 17:45:33 +00:00
parent 343e59363e
commit 203eceb85b
1 changed files with 8 additions and 0 deletions

View File

@ -165,6 +165,14 @@ rabbitmq_run_command(
subcommand = "run-broker",
)
# Allow us to `bazel run background-broker`
# to start a broker in the background
rabbitmq_run_command(
name = "background-broker",
rabbitmq_run = ":rabbitmq-run",
subcommand = "start-background-broker",
)
# Allow us to `bazel run start-cluster`
# for the equivalent of `make start-cluster`
rabbitmq_run_command(