Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View Makefile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
NODE?=`which node`
# Need 'echo -n'
SHELL=/bin/bash
 
default: test
 
FAIL=echo FAIL
PASS=echo PASS
 
test:
@echo Using $(NODE)
@for i in test-*.js; do \
echo -n "$$i: "; \
$(NODE) $$i 2>/dev/null > /dev/null && $(PASS) || $(FAIL); \
done
 
.PHONY: test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.