Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c44b28c569
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (23 sloc) 0.765 kb
.PHONY: site
all:
node src/typegrammar.js
node src/grammar.js
deps:
npm install
npm prune
bundle:
./node_modules/interleave/bin/interleave interleaved-roy.js
site: all bundle
[ -e roy.brianmckenna.org ] || mkdir roy.brianmckenna.org
cp -r site/* roy.brianmckenna.org
cp -r examples roy.brianmckenna.org
cp package.json roy.brianmckenna.org
$(MAKE) optimise-bundle DEST=roy.brianmckenna.org/
extension:
$(MAKE) optimise-bundle DEST=misc/chrome-extension/
optimise-bundle:
closure --js dist/interleaved-roy.js --js_output_file $(DEST)bundled-roy.js 2>/dev/null || \
(echo "Closure not available - not minimising" && cp dist/interleaved-roy.js $(DEST)bundled-roy.js)
# Tests
test: all
./node_modules/jasmine-node/bin/jasmine-node --verbose test
Jump to Line
Something went wrong with that request. Please try again.