commit | e5815f1c98e9c9751a87688cd561cce87c921cf7 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Fri Sep 01 15:39:27 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 01 15:39:27 2023 +0000 |
tree | 8e01edba7970e1dc446eb3f9d7fedc0fb6c952bd | |
parent | 5795d43b7aef109d62e6db453cfeb288de92f029 [diff] |
[engine] Fix test failure on Mac Some of these tests were failing on Mac saying that the specified files weren't actually under the root. See comment for explanation. Change-Id: Ibccf6e000afea42337bbabac5cba2de8499efc32 Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/911233 Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Anthony Fandrianto <atyfto@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.