You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
.PHONY: test all |
|
|
|
GRAMMAR=lib/grammar.pegjs |
|
PEGJS=./node_modules/.bin/pegjs |
|
|
|
all: lib/parser.js |
|
|
|
lib/parser.js: $(PEGJS) |
|
$(PEGJS) $(GRAMMAR) $@ |
|
|
|
$(PEGJS): |
|
npm install |
|
|
|
test: lib/parser.js |
|
./node_modules/.bin/mocha --check-leaks -R list -u tdd test/*.js
|
|
|