8 lines
154 B
Makefile
8 lines
154 B
Makefile
|
|
EXAMPLES = $(foreach EXAMPLE, $(wildcard examples/*.js), $(EXAMPLE))
|
|
|
|
.PHONY: test
|
|
test: $(EXAMPLES)
|
|
|
|
.PHONY: $(EXAMPLES)
|
|
$(EXAMPLES): ; node $@ && echo
|