Files
golib/update_dep
2020-01-04 15:40:04 +01:00

13 lines
201 B
Bash
Executable File

#!/bin/bash
go clean -r -x -cache -testcache -modcache
if [[ ! -e go.mod ]] ;
then
go mod init
go get ./...
fi
go mod download
go mod vendor
go get -u ./... && go mod download && go mod vendor