commit | aa2ee98881db08534bdf29383fc86bfe5b9f8a65 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Aug 09 15:15:49 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 09 15:15:49 2023 +0000 |
tree | d57c6369ee891381dcf82ced6946b3d338a6a5b6 | |
parent | 8e7f250456d15d150c4bba78f184ba169bbdae05 [diff] |
[tests] Unzip contents of test module To comply with licensing requirements, check in the unzipped contents of the `ut` package instead of a zip file. We can't use the normal Go vendoring process because it strips out `_test.go` files and .git files, which are included in the go.sum hash calculation and thus need to be available for the test. Bug: 131750 Change-Id: I11333ff9bbb2a86fa53ef93da3f199a15c0307d2 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/898278 Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Oliver Newman <olivernewman@google.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
Planned features/changes, in descending order by priority:
shac.textproto
shac.star
files.shac
cache directory that checks can write toctx.scm
glob
arguments to ctx.scm.{all,affected}_files()
functions for easier filtering⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.