commit | 6b36786cd6e56fcf9722ec020479b046172ebcc7 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Wed Sep 06 17:30:17 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 06 17:30:17 2023 +0000 |
tree | 1b01b7ab72e93b08703f4ae0b01a3b998483629e | |
parent | 0ae299aac566002ee4c07c78c7971bd7af8706d0 [diff] |
[doc] Move `shac` object to the top of stdlib.md The `shac` object is the entrypoint to registering checks, so it's the first thing anyone starting to use SHAC must know about. Change-Id: Iba852fd90c825908b352e71104dbc25880bd9348 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/911235 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Danny Rosen <dannyrosen@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.