| # We exclude docs/ from build_targets. Since we can't blacklist specific target |
| # patterns (bazelbuild/continuous-integration#779), we have to explicitly |
| # list every other top-level package in build_targets. |
| # TODO(#144): When Bazel 0.29 is released, the docgen workflow will work, and |
| # we can go back to using `...` for build_targets. |
| --- |
| buildifier: |
| version: latest |
| warnings: "all" |
| all_targets: &all_targets |
| build_targets: |
| - "//examples/..." |
| - "//experimental/..." |
| - "//packaging/..." |
| - "//python/..." |
| - "//tests/..." |
| - "//tools/..." |
| # As a regression test for #225, check that wheel targets still build when |
| # their package path is qualified with the repo name. |
| - "@rules_python//experimental/examples/..." |
| test_targets: |
| - "..." |
| platforms: |
| ubuntu1604: |
| <<: *all_targets |
| ubuntu1804: |
| <<: *all_targets |
| macos: |
| <<: *all_targets |