Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (23 sloc) 0.707 kb
all: build test
site:
node script/web-bundle.js > web/content/assets/js/jison.js
cd web/ && nanoc compile
cp -r examples web/output/jison/
preview:
cd web/ && nanoc view &
open http://localhost:3000/jison/
deploy:
rm -r ../pages/jison/*
cp -r web/output/jison/* ../pages/jison/
cd ../pages/jison && git add . && git commit -m 'Deploy site updates' && git push origin gh-pages
build: build_bnf build_lex
build_bnf:
node lib/jison/cli-wrapper.js src/bnf.y src/bnf.l
mv bnf.js lib/jison/util/bnf-parser.js
build_lex:
node lib/jison/cli-wrapper.js src/jisonlex.y src/jisonlex.l
mv jisonlex.js lib/jison/util/lex-parser.js
test:
node tests/all-tests.js
testn:
narwhal tests/all-tests.js
Jump to Line
Something went wrong with that request. Please try again.