Closed solsjo closed 2 years ago
https://github.com/bazelbuild/buildtools/blob/master/buildifier/README.md#buildifier
https://github.com/bazelbuild/buildtools/blob/master/buildifier/README.md#setup-and-usage-via-bazel-not-supported-on-windows
Also, consider adding github actions, both pipelines could live in parallell and reference some common shell script, containing the commands to execute in the pipeline.
e.g.
ci.sh: bazel build //buildifier find -iname "*.bzl" | xargs bazel run //:buildifier -- --lint=warn bazel build //example/:all bazel build //packages/:all
https://github.com/bazelbuild/buildtools/blob/master/buildifier/README.md#buildifier
https://github.com/bazelbuild/buildtools/blob/master/buildifier/README.md#setup-and-usage-via-bazel-not-supported-on-windows
Also, consider adding github actions, both pipelines could live in parallell and reference some common shell script, containing the commands to execute in the pipeline.
e.g.
ci.sh: bazel build //buildifier find -iname "*.bzl" | xargs bazel run //:buildifier -- --lint=warn bazel build //example/:all bazel build //packages/:all