commit | 00040f767d067e25e8ecc394aa885d2412973316 | [log] [tgz] |
---|---|---|
author | Marc-Antoine Ruel <maruel@google.com> | Mon May 01 14:18:39 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 01 14:18:39 2023 +0000 |
tree | 3b4970baca02f33966ca47757892f4ec955d4f61 | |
parent | 36902dc4e01c26315f3c1e564432bcbec4080338 [diff] |
[engine] Improve Recurse mode When loading a shac.star from a subdirectory, properly name it with regards to the subdirectory it is in. This will later enable loading common starlark code from an adjacent directory. The main visible side effect is that the print() statements now contain the subdirectory name when recursing. Change-Id: I8abc5c890b7c5fa264a3c49ccb5179cc151d951a Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/843416 Fuchsia-Auto-Submit: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Oliver Newman <olivernewman@google.com>
Scalable Hermetic Analysis and Checks.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
⚠ 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.