Skip to content

Commit

Permalink
Removed generated parser code from repository. Only update parser if …
Browse files Browse the repository at this point in the history
…grammar file changed.
  • Loading branch information
mbaumgartl committed Nov 11, 2014
1 parent d3ec5bc commit 21d05dd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9,283 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
base/nquery.js
node_modules
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
TESTS = test/unit/*.js
REPORTER = spec
test: clean

test: base/nquery.js
@npm install
@./node_modules/pegjs/bin/pegjs peg/nquery.pegjs ./base/nquery.js
@./node_modules/mocha/bin/mocha $(TESTS) --reporter spec

base/nquery.js: peg/nquery.pegjs
@./node_modules/pegjs/bin/pegjs peg/nquery.pegjs ./base/nquery.js

clean:

.PHONY: test
Loading

0 comments on commit 21d05dd

Please sign in to comment.