From 0394b4c3d87add7073006c90f10d0e7e5c93eb57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Filipek?= Date: Mon, 8 Dec 2014 10:46:35 +0100 Subject: [PATCH] Updated Makefile --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7218dd2..b3991f2 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ .PHONY: all build clean -all: build +all: install build + +intall: + npm install clean: rm -rf build @@ -12,7 +15,7 @@ build/squire-raw.js: source/intro.js source/Constants.js source/TreeWalker.js so cat $^ >$@ build/squire.js: build/squire-raw.js - uglifyjs $^ -c -m -o $@ + ./node_modules/uglify-js/bin/uglifyjs $^ -c -m -o $@ build/document.html: source/document.html mkdir -p $(@D)