From 37355b82d1ecbfbab2b4f4ed45cafdfe1636b220 Mon Sep 17 00:00:00 2001 From: Emily Eisenberg Date: Fri, 5 Jul 2013 20:55:25 -0700 Subject: [PATCH] Make the makefile more helpful Auditors: spicyj --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 75ab14308..841e35685 100644 --- 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