commit | d0d19316744de00ced7e4f58d203cb4311ee77a4 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Fri Sep 01 19:15:56 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 01 19:15:56 2023 +0000 |
tree | 030dfb631607fcbcefc691fa7515b4a03e2c4dee | |
parent | 34b2deb549104c1bdc2113a3c5e8484594a4f86f [diff] |
[engine] Refactor loading code for clarity Rename variables and rearrange if blocks. No behavior changes. Change-Id: I7b4687b0fd72b9a75862122933e411e9de754205 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/910678 Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Danielle Kay <danikay@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.