diff options
author | Adin Scannell <ascannell@google.com> | 2020-10-26 11:09:34 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-26 11:11:46 -0700 |
commit | 7926a9e28da8852954961af2aea0a280b6bbd210 (patch) | |
tree | d2c87f7108aa207b0c2c87410d12c3f952a56689 /BUILD | |
parent | e2dce046037c30b585cc62db45d517f59d1a08fc (diff) |
Add nogo configuration.
This splits the nogo rules into a separate configuration yaml file, and
allows for multiple files to be provided.
Because attrs cannot be passed down to aspects, this required that all
findings are propagated up the aspect Provider. This doesn't mean that
any extra work must be done, just that this information must be carried
through the graph, and some additional starlark complexity is required.
PiperOrigin-RevId: 339076357
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,10 +1,17 @@ load("//tools:defs.bzl", "build_test", "gazelle", "go_path") +load("//tools/nogo:defs.bzl", "nogo_config") load("//website:defs.bzl", "doc") package(licenses = ["notice"]) exports_files(["LICENSE"]) +nogo_config( + name = "nogo_config", + srcs = ["nogo.yaml"], + visibility = ["//:sandbox"], +) + doc( name = "contributing", src = "CONTRIBUTING.md", |