commit | 8e7f250456d15d150c4bba78f184ba169bbdae05 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Tue Aug 08 23:05:17 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 08 23:05:17 2023 +0000 |
tree | 3d403ae221b9ff814605c208aa1a2a3919d1dd64 | |
parent | 349fbb863c794b7dda10fbea14568c9c5dd759aa [diff] |
[engine] Add ctx.platform.arch ... and rename `ctx.os.name` to `ctx.platform.os` so the OS and arch values are grouped together. There are no downstream users of `ctx.os.name` yet, so it's safe to rename. Change-Id: If6c47eaed0301203ba8d90759ef10921622db8e9 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/897161 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Reviewed-by: Marc-Antoine Ruel <maruel@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.