Files
KaTeX/Makefile
Ben Alpert 4bc599966f Create node server to replace 'make watch'
Reviewers: xymostech

Reviewed By: xymostech

Differential Revision: http://phabricator.benalpert.com/D38
2013-07-05 22:55:10 -07:00

19 lines
403 B
Makefile

FILES=parser.js style.css build.js index.html
.PHONY: build ship copy server
build: parser.js
ship: build
scp $(FILES) prgmr:/var/www/www.rampancylabs.com/parser/
copy: build
cp parser.js ../exercises/utils/mjlite-parser.js
cp MJLite.js ../exercises/utils/MJLite.js
cp style.js ../exercises/css/mjlite.css
parser.js: parser.jison
./node_modules/.bin/jison parser.jison
server:
node server.js