new tools.go file to get code-generator dependency + updated codegen + remove Glide files and update docs

This commit is contained in:
Felix Kunde
2019-10-02 15:51:20 +02:00
parent fd89e90d38
commit 77330e22f7
22 changed files with 461 additions and 454 deletions
+4 -3
View File
@@ -78,7 +78,8 @@ scm-source.json: .git
echo '{\n "url": "git:$(GITURL)",\n "revision": "$(GITHEAD)",\n "author": "$(USER)",\n "status": "$(GITSTATUS)"\n}' > scm-source.json
tools:
@go get -u honnef.co/go/tools/cmd/staticcheck
GO111MODULE=on go get -u honnef.co/go/tools/cmd/staticcheck
GO111MODULE=on go get k8s.io/client-go@kubernetes-1.16.0
fmt:
@gofmt -l -w -s $(DIRS)
@@ -88,11 +89,11 @@ vet:
@staticcheck $(PKG)
deps:
@go mod vendor
GO111MODULE=on go mod vendor
test:
hack/verify-codegen.sh
@go test ./...
@go test ./pkg/...
e2e: docker # build operator image to be tested
cd e2e; make tools test clean