Browse Source

Add make foreach CMD="..."

tags/v0.3.1
Andrew Belt 7 years ago
parent
commit
7fe5344ccc
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile

+ 4
- 0
Makefile View File

@@ -142,3 +142,7 @@ ifeq ($(ARCH), mac)
else else
cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack cd dist && zip -5 -r Rack-$(VERSION)-$(ARCH).zip Rack
endif endif


eachplugin:
$(foreach f,$(wildcard plugins/*),(cd $f && ${CMD});)

Loading…
Cancel
Save