Skip to content

Commit

Permalink
buildifier: Add additional patterns in runner.bash.template (#717)
Browse files Browse the repository at this point in the history
Add (BUILD|WORKSPACE).*.(oss|bazel) pattern, introduced in f8b2ce4.
Fixes #704
  • Loading branch information
Takeo Sawada authored and vladmos committed Sep 9, 2019
1 parent aef5cc1 commit 5bcc31d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion buildifier/runner.bash.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ buildifier_short_path=$(readlink "$BUILDIFIER_SHORT_PATH")
-o -name BUILD.bazel \
-o -name BUILD \
-o -name '*.BUILD' \
-o -name WORKSPACE \) \
-o -name 'BUILD.*.bazel' \
-o -name 'BUILD.*.oss' \
-o -name WORKSPACE \
-o -name WORKSPACE.bazel \
-o -name WORKSPACE.oss \
-o -name 'WORKSPACE.*.bazel' \
-o -name 'WORKSPACE.*.oss' \) \
-print \
| xargs "$buildifier_short_path" "${ARGS[@]}")

0 comments on commit 5bcc31d

Please sign in to comment.