Reintroduce go mod init/tidy

This commit is contained in:
Russ Magee 2022-09-12 22:05:03 -07:00
parent 653e732445
commit 254e9fb7d6
1 changed files with 4 additions and 4 deletions

View File

@ -29,10 +29,10 @@ ls
stage "Build"
############
echo "Recreating go.mod from scratch ..."
#!mv go.mod go.mod.git || true
#!mv go.sum go.sum.git || true
#!go mod init
#!go mod tidy
mv go.mod go.mod.git || true
mv go.sum go.sum.git || true
go mod init
go mod tidy
echo "Cleaning go mod cache ..."
go clean -modcache