Skip to content

Commit

Permalink
Merge pull request #35 from gibizer/fix-make-tidy
Browse files Browse the repository at this point in the history
Fix make tidy not to depend on ./bin path
  • Loading branch information
openshift-merge-robot authored Apr 17, 2023
2 parents f73c095 + ff1c8e2 commit b0ef7aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ fmt: ## Run go fmt against code.
vet: ## Run go vet against code.
go vet ./...

APIPATH ?= $(shell pwd)/api
.PHONY: tidy
tidy: ## Run go mod tidy on every mod file in the repo
go mod tidy; \
pushd "$(LOCALBIN)/../api"; \
pushd $(APIPATH); \
go mod tidy; \
popd

Expand Down

0 comments on commit b0ef7aa

Please sign in to comment.