Make the makefile more helpful

Auditors: spicyj
This commit is contained in:
Emily Eisenberg 2013-07-05 20:55:25 -07:00
parent d2fa50c836
commit 37355b82d1

View File

@ -1,8 +1,15 @@
FILES=parser.js style.css build.js index.html
.PHONY: ship
ship: parser.js
.PHONY: build ship copy
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