Skip to content

Commit 2606925

Browse files
committed
Fix make generate
In #80 we did a hack to ensure code was generated even if it wasn't placed at $GOPATH sigs.k8s.io/network-policy-api. But that's not totally necessary always, like in my case where it was in that place, with this new change it started wiping off my entire sigs.k8s.io folder locally when I run make generate. Instead let's make generate-setup and generate-cleanup optional as separate make commands and not club them with make generate. These kind of kinks depend on how each user's local setup is. Signed-off-by: Surya Seetharaman <[email protected]>
1 parent 0111984 commit 2606925

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ vet: ## Run go vet against code.
4747
go vet ./...
4848

4949
.PHONY: generate
50-
generate: generate-setup generate-deepcopy generate-typed-clients generate-typed-listers generate-typed-informers generate-cleanup
50+
generate: generate-deepcopy generate-typed-clients generate-typed-listers generate-typed-informers
5151

5252
.PHONY: generate-setup
5353
generate-setup:

0 commit comments

Comments
 (0)