Skip to content

Commit 0b06c80

Browse files
committed
tmp
1 parent 24356f2 commit 0b06c80

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

bazel/patches/buildifier-runner-bat-template.patch

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/buildifier/runner.bat.template b/buildifier/runner.bat.template
2-
index 13ca3fa..7878d18 100644
2+
index 13ca3fa..2cd0601 100644
33
--- a/buildifier/runner.bat.template
44
+++ b/buildifier/runner.bat.template
5-
@@ -9,13 +9,38 @@ rem Unquote the arguments
5+
@@ -9,13 +9,40 @@ rem Unquote the arguments
66
set stripped_args=%stripped_args:'=%
77

88
rem Get the absolute path to the buildifier executable
@@ -25,9 +25,11 @@ index 13ca3fa..7878d18 100644
2525
+ {^
2626
+ if ($relPath -clike $pattern)^
2727
+ {^
28+
+ Write-Host "reject $Path";^
2829
+ return $true;^
2930
+ };^
3031
+ };^
32+
+ Write-Host "consider $Path";^
3133
+ return $false;^
3234
+};^
3335
function Buildify($Root)^
@@ -42,7 +44,7 @@ index 13ca3fa..7878d18 100644
4244
$_.Name -eq 'BUILD.bazel' `^
4345
-or $_.Name -eq 'BUILD' `^
4446
-or $_.Name -eq 'WORKSPACE' `^
45-
@@ -27,7 +52,9 @@ function Buildify($Root)^
47+
@@ -27,7 +54,9 @@ function Buildify($Root)^
4648
-or $_.Name -clike 'BUILD.*.bazel' `^
4749
-or $_.Name -clike 'BUILD.*.oss' `^
4850
-or $_.Name -clike 'WORKSPACE.*.bazel' `^

0 commit comments

Comments
 (0)