Skip to content

Commit

Permalink
Ignore Modules In .build Directory
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmaly committed Jan 27, 2022
1 parent 1806dd7 commit 49b2934
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion porch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ start-kube-apiserver:
--anonymous-auth=false \
--client-ca-file=/pki/ca.crt

MODULES = $(shell find . -path ./forks -prune -o -name 'go.mod' -print)
MODULES = $(shell find . -path ./forks -prune -path ./.build -prune -o -name 'go.mod' -print)

.PHONY: generate
generate: $(MODULES)
@for f in $(^D); do (cd $$f; echo "Generating $$f"; go generate -v ./...) || exit 1; done
Expand Down

0 comments on commit 49b2934

Please sign in to comment.