UNPKG

deadpool

Version:

Spawn node.js programs with the speed of thought

13 lines (9 loc) 350 B
TESTS = test/*.js test: @# if any of the files contain 'debugger' statements, start with --debug-brk @if find -name 'node_modules' -prune -o -type f -name '*.js' -print | xargs grep -q '^\s*debugger'; then \ ./node_modules/.bin/mocha --ui tdd --debug-brk $(TESTS); \ else \ ./node_modules/.bin/mocha --ui tdd $(TESTS); \ fi .PHONY: test