From 309bcb09f38f502d74b5339b6decbc73646bcbaf Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Wed, 11 Mar 2015 17:39:22 +0100 Subject: [PATCH] reverts Makefile to how it was --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index c129b4e..f04c30b 100644 --- a/Makefile +++ b/Makefile @@ -9,9 +9,19 @@ JS_CLIENT_FILES= lib/torque/*.js \ lib/torque/leaflet/canvas_layer.js \ lib/torque/leaflet/torque.js +all: dist/torque.js dist/torque.full.js + dist/torque.full.uncompressed.js: dist_folder dist/torque.uncompressed.js $(BROWSERIFY) lib/torque/index.js --standalone torque > dist/torque.full.uncompressed.js +dist/torque.full.js: dist_folder dist/torque.full.uncompressed.js + $(UGLIFYJS) dist/torque.full.uncompressed.js > dist/torque.full.js + +dist/torque.uncompressed.js: dist_folder $(JS_CLIENT_FILES) + $(BROWSERIFY) lib/torque/index.js --no-bundle-external --standalone torque > dist/torque.uncompressed.js + +dist/torque.js: dist_folder dist/torque.uncompressed.js + $(UGLIFYJS) dist/torque.uncompressed.js > dist/torque.js dist_folder: mkdir -p dist