commit 37355b82d1ecbfbab2b4f4ed45cafdfe1636b220
parent d2fa50c8361a91e393e4b06fc39003ba371f16c0
Author: Emily Eisenberg <xymostech@gmail.com>
Date: Fri, 5 Jul 2013 20:55:25 -0700
Make the makefile more helpful
Auditors: spicyj
Diffstat:
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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