From d3400def4a1a79f8a3636eaed22ae3e46cb7666e Mon Sep 17 00:00:00 2001 From: Jade Guiton Date: Tue, 19 Nov 2024 14:13:38 +0100 Subject: [PATCH] Remove `modgenerate` target --- Makefile | 2 +- Makefile.Common | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 7fb147ae8968..40f4df619c81 100644 --- a/Makefile +++ b/Makefile @@ -307,7 +307,7 @@ docker-telemetrygen: .PHONY: generate generate: install-tools - PATH="$$PWD/.tools:$$PATH" $(MAKE) $(FOR_GROUP_TARGET) TARGET="modgenerate" + PATH="$$PWD/.tools:$$PATH" $(MAKE) for-all CMD="$(GOCMD) generate ./..." $(MAKE) gofmt .PHONY: githubgen-install diff --git a/Makefile.Common b/Makefile.Common index 7d8bb4244aaa..07ce7e0d9062 100644 --- a/Makefile.Common +++ b/Makefile.Common @@ -254,7 +254,3 @@ testifylint-fix: gci: $(TOOLS_BIN_DIR)/gci @echo "running $(GCI)" @$(GCI) write -s standard -s default -s "prefix(github.com/open-telemetry/opentelemetry-collector-contrib)" $(ALL_SRC_AND_DOC) - -.PHONY: modgenerate -modgenerate: - $(GOCMD) generate ./...