hack: add apidiff.sh

apidiff can be invoked for a single internal package or iterate over
everything, including staging. The base to compare against can be specified via
-r (similar to verify-golangci-lint.sh), with the default the base revision on
master (similar to -a in verify-golangci-lint.sh).
This commit is contained in:
Patrick Ohly
2024-01-25 18:14:42 +01:00
parent f39ece24b2
commit 00ceebef57
4 changed files with 175 additions and 17 deletions

View File

@@ -36,4 +36,5 @@ import (
// tools like cpu
_ "go.uber.org/automaxprocs"
_ "golang.org/x/exp/cmd/apidiff"
)