Files
claude-code 03312d484e
werkator build succeeded after 00:10
A Go toolchain without known vulnerabilities (0.12.2) (#16)
Co-authored-by: claude-code <claude-code@javagil.de>
2026-10-20 16:49:04 +02:00

11 lines
593 B
Bash
Executable File

#!/bin/sh
# The required check "Licenses" of docs/agentic-workflow.md: each dependency's license against tools/allowed-licenses.txt.
# werkdock itself is ignored: the check is about what it depends on.
set -eu
cd "$(dirname "$0")/.."
allowed=$(grep -v '^#' tools/allowed-licenses.txt | grep . | paste -sd, -)
# go-licenses must run on the toolchain that builds the module, else it takes its standard library for unknown packages.
GOTOOLCHAIN=$(go env GOVERSION)
export GOTOOLCHAIN
exec go run github.com/google/go-licenses/v2@v2.0.1 check ./... --ignore werkdock --allowed_licenses="$allowed"