From ed1ccb18bac0a64218c60ced1c6f3e56e2e6ef98 Mon Sep 17 00:00:00 2001 From: nabil salah Date: Wed, 29 Jan 2025 18:29:19 +0200 Subject: [PATCH] refactor: exclude alias directories from ALL_PKGS in Makefile Signed-off-by: nabil salah --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4441bb6328a..65ab6ae5b52 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,7 @@ SCRIPTS_SRC = $(shell find . \( -name '*.sh' -o -name '*.py' -o -name '*.mk' -o sort) # ALL_PKGS is used with 'nocover' and 'goleak' -ALL_PKGS = $(shell echo $(dir $(ALL_SRC)) | tr ' ' '\n' | sort -u) +ALL_PKGS = $(shell echo $(dir $(ALL_SRC)) | tr ' ' '\n' | grep -v '/.*-gen/' | sort -u) GO=go GOOS ?= $(shell $(GO) env GOOS)