I want a Bazel rule that is able to build multiple targets at once. So basically something like this:
build_all(
name = "build_all",
targets = [
"//services/service1:build",
"//services/service2:build",
"//services/service3:build",
]
)
So I would just run
bazel build //:build_all
to build all my services with one simple command (and the same for testing). But I couldn't find any current solutions.
Is there a way to achieve this?