Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 219 Bytes
NODE=`which node`
THIS_DIR=$(shell pwd)
default: test
FAIL=echo FAIL
PASS=echo PASS
test:
@for i in test/test-*.js; do \
echo -n "$$i: "; \
$(NODE) $$i > /dev/null && $(PASS) || $(FAIL); \
done
.PHONY: test