Skip to content

Commit

Permalink
Merge pull request #29 from cschwede/tidy-target
Browse files Browse the repository at this point in the history
Add missing tidy target to Makefile
  • Loading branch information
cschwede authored Jul 22, 2023
2 parents e0ec828 + e4a9324 commit cd8116d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ fmt: ## Run go fmt against code.
vet: ## Run go vet against code.
go vet ./...

.PHONY: tidy
tidy: ## Run go mod tidy on every mod file in the repo
go mod tidy
cd ./api && go mod tidy

.PHONY: test
test: manifests generate fmt vet envtest ginkgo ## Run tests.
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" \
Expand Down

0 comments on commit cd8116d

Please sign in to comment.