commit | 9b6143b7486a35da6e90b4a0b46a55103ee032e4 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Mon Sep 11 18:39:59 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Sep 11 18:39:59 2023 +0000 |
tree | 0f2b556ab7f938859cd9d0ab7357aae20b89eae5 | |
parent | 130473d3b96e23beb6ac42e2b5958efdcdb6d48d [diff] |
[engine] Rename Options.Root to Options.Dir For consistency with Ic9aef678e2cb518a81ff2f36f3bec6fda969675d, rename the Root field to Dir, since shac now uses git to locate the root directory, which may differ from (but will always be a parent of) the directory specified by the Dir field. Change-Id: I94e6a293691096fa0b52053342a7ea6bab97dcc5 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/914337 Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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.