orderly
Version:
Translates Orderly to JSON Schema
19 lines (13 loc) • 402 B
Plain Text
all: build test
build: move
jison lib/grammar.y
mv grammar.js dist/parser.js
move: lib
cp lib/*.js dist/
test: move dist
node tests/all-tests.js
standalone: move dist
node scripts/standalone.js | uglifyjs > web/orderly.js
cp web/orderly.js ../orderly-pages/orderly.js
cp web/orderly.html ../orderly-pages/index.html
cd ../orderly-pages && git commit -a -m 'update site' && git push origin