File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ all: manager
1414
1515# Run tests
1616test : generate fmt vet manifests api-docs
17- find . -maxdepth 2 -type f -name ' go.mod' -execdir go test ./... -coverprofile cover.out \;
17+ go test ./... -coverprofile cover.out
18+ cd api; go test ./... -coverprofile cover.out
1819
1920# Build manager binary
2021manager : generate fmt vet
@@ -55,11 +56,13 @@ api-docs: gen-crd-api-reference-docs
5556
5657# Run go fmt against code
5758fmt :
58- find . -maxdepth 2 -type f -name ' go.mod' -execdir go fmt ./... \;
59+ go fmt ./...
60+ cd api; go fmt ./...
5961
6062# Run go vet against code
6163vet :
62- find . -maxdepth 2 -type f -name ' go.mod' -execdir go vet ./... \;
64+ go vet ./...
65+ cd api; go vet ./...
6366
6467# Generate code
6568generate : controller-gen
You can’t perform that action at this time.
0 commit comments