Skip to content

@ry /Makefile
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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.