summaryrefslogtreecommitdiffhomepage
path: root/tools/nogo/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nogo/build.go')
-rw-r--r--tools/nogo/build.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/nogo/build.go b/tools/nogo/build.go
index 39c2ae418..55d34760f 100644
--- a/tools/nogo/build.go
+++ b/tools/nogo/build.go
@@ -29,6 +29,9 @@ var (
// internalDefault is applied when no paths are provided.
internalDefault = fmt.Sprintf("%s/.*", notPath("external"))
+ // generatedPrefix is a regex for generated files.
+ generatedPrefix = "^(.*/)?(bazel-genfiles|bazel-out|bazel-bin)/"
+
// externalPrefix is external workspace packages.
externalPrefix = "^external/"
)