Run go mod tidy (#1220)

... and ensure it's run after installing gocc, to avoid recording a
(fake) dependency on gocc.

Signed-off-by: Stephen Kitt <steve@sk2.org>
This commit is contained in:
Stephen Kitt 2023-03-06 03:12:11 +01:00 committed by GitHub
parent 6aa8812837
commit 3b1280d6b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 28 deletions

View file

@ -29,6 +29,7 @@ fi
# Build the bin/gocc executable:
go install github.com/goccmack/gocc
go mod tidy
bingocc="$HOME/go/bin/gocc"
if [ ! -x "$bingocc" ]; then
exit 1