Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (13 sloc) 315 Bytes
all: install build test
install:
npm install
build:
node ./node_modules/.bin/jison bnf.y bnf.l
mv bnf.js parser.js
node ./node_modules/.bin/jison ebnf.y
mv ebnf.js transform-parser.js
test:
node tests/all-tests.js
clean:
superclean: clean
-find . -type d -name 'node_modules' -exec rm -rf "{}" \;