Skip to content

Commit

Permalink
Makefile: run vendor in contrib/tetragon-rthooks on protogen
Browse files Browse the repository at this point in the history
contrib/tetragon-rthooks module is dependent on the API, so we can
immediately run vendor on proto generation so that users don't need to
realize it later and run make vendor independently.

Signed-off-by: Mahe Tardy <[email protected]>
  • Loading branch information
mtardy committed Sep 13, 2024
1 parent b154aee commit 02d199b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ protogen: protoc-gen-go-tetragon ## Generate code based on .proto files.
$(GO) mod tidy
$(GO) mod vendor
$(GO) mod verify
$(MAKE) -C contrib/tetragon-rthooks vendor

.PHONY: protoc-gen-go-tetragon
protoc-gen-go-tetragon:
Expand Down

0 comments on commit 02d199b

Please sign in to comment.