toollock

command
v0.0.0-...-882da78 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2026 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Overview

Command toollock is the release-time generator for the managed analyzer toolchain of Section 11.7. It downloads every pinned upstream distribution, verifies the digest upstream publishes, runs the build steps a distribution needs (npm ci for the Node packages, a cross `go install` for the Go programs), normalizes each tree into a deterministic tar.gz, publishes the payloads as assets of a tools-v<n> release, and writes internal/toolchain/tools.lock.json.

It is never part of the shipped binary: the product only ever consumes the lock this program emits.

go run ./internal/tools/toollock                 # produce, publish, write the lock
go run ./internal/tools/toollock -check          # re-download every asset and confirm digests
go run ./internal/tools/toollock -tools joern    # limit to one tool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL