From 835685715c753ead94055ffa49fa5e92b6922964 Mon Sep 17 00:00:00 2001 From: Alex Boten Date: Tue, 16 Jan 2024 16:35:32 -0800 Subject: [PATCH] [chore] add mdatagen-test makefile target (#9280) This is copied verbatim from the contrib repo. Signed-off-by: Alex Boten --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3f16da05069..b48274da290 100644 --- a/Makefile +++ b/Makefile @@ -470,3 +470,9 @@ chlog-update: $(CHLOGGEN) .PHONY: builder-integration-test builder-integration-test: $(ENVSUBST) cd ./cmd/builder && ./test/test.sh + +.PHONY: mdatagen-test +mdatagen-test: + cd cmd/mdatagen && $(GOCMD) install . + cd cmd/mdatagen && $(GOCMD) generate ./... + cd cmd/mdatagen && $(GOCMD) test ./...