Skip to content

Commit f0e86d2

Browse files
author
Konstantin Gredeskoul
committed
Excluding .git/ folder from buildifier's sources
1 parent 83c9d60 commit f0e86d2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

BUILD.bazel

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
load("@com_github_bazelbuild_buildtools//buildifier:def.bzl", "buildifier")
22

3-
buildifier(name = "buildifier")
4-
53
buildifier(
6-
name = "buildifier-check",
7-
mode = "check",
4+
name = "buildifier",
5+
exclude_patterns = [".git/**"],
86
)
97

108
buildifier(
11-
name = "buildifier-fix",
12-
mode = "fix",
9+
name = "buildifier-check",
10+
exclude_patterns = [".git/**"],
11+
mode = "check",
1312
)

0 commit comments

Comments
 (0)