Delete vendor/ and the route proxy's: the build module fetches the modules, the root image builds with -mod=mod (issue 1305, C6)
This commit is contained in:
-18
@@ -1,18 +0,0 @@
|
||||
.PHONY: test cover
|
||||
|
||||
build:
|
||||
go build
|
||||
|
||||
fmt:
|
||||
gofmt -w -s *.go
|
||||
goimports -w *.go
|
||||
go mod tidy
|
||||
|
||||
test:
|
||||
go vet ./...
|
||||
staticcheck ./...
|
||||
rm -rf ./coverage.out
|
||||
go test -v -coverprofile=./coverage.out ./...
|
||||
|
||||
cover:
|
||||
go tool cover -html=coverage.out
|
||||
Reference in New Issue
Block a user