diff options
Diffstat (limited to 'tools/nogo/build.go')
-rw-r--r-- | tools/nogo/build.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/nogo/build.go b/tools/nogo/build.go index 37947b5c3..55d34760f 100644 --- a/tools/nogo/build.go +++ b/tools/nogo/build.go @@ -26,6 +26,12 @@ var ( // and should not have any special prefix applied. internalPrefix = fmt.Sprintf("^") + // 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/" ) |