From 7fe5344ccced4e23b165f9d4bd63f9152badd15a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 13 Sep 2017 03:51:01 -0400 Subject: [PATCH] Add make foreach CMD="..." --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 41caa048..ef9b536f 100644 --- a/Makefile +++ b/Makefile @@ -142,3 +142,7 @@ ifeq ($(ARCH), mac) else cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack endif + + +eachplugin: + $(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});)