Avoid dependence on goproxy (use vendored deps)

This commit is contained in:
Russ Magee 2022-08-12 21:56:09 -07:00
parent 7a4560762d
commit 677172dc1f
1 changed files with 6 additions and 4 deletions

View File

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