From afe2bf5e6ef1dd288bf0f4eaf350bb2c6fd2c495 Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Sat, 14 Dec 2013 18:55:10 +0100 Subject: [PATCH] Download raven.min.map and raven.js to ease debug Signed-off-by: Nicolas Iooss --- Makefile | 8 ++++---- htdocs/javascript/.gitignore | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a868430..cb92b45 100644 --- a/Makefile +++ b/Makefile @@ -259,12 +259,12 @@ htdocs/javascript/markerclusterer.js: ## Raven-js ## RAVEN_VERSION=1.1.2 -raven: htdocs/javascript/raven.min.js +raven: $(addprefix htdocs/javascript/raven.,min.js min.map js) # Documentation: http://raven-js.readthedocs.org/en/latest/install/index.html -htdocs/javascript/raven.min.js: DOWNLOAD_SRC = http://cdn.ravenjs.com/1.1.2/raven.min.js -htdocs/javascript/raven.min.js: - @-rm htdocs/javascript/raven*.js: +htdocs/javascript/raven.%: DOWNLOAD_SRC = http://cdn.ravenjs.com/$(RAVEN_VERSION)/$(@F) +htdocs/javascript/raven.%: + @-rm $@ $(download) diff --git a/htdocs/javascript/.gitignore b/htdocs/javascript/.gitignore index 5ff7a5c..e999ed5 100644 --- a/htdocs/javascript/.gitignore +++ b/htdocs/javascript/.gitignore @@ -12,3 +12,4 @@ # Raven-js /raven*.js +/raven.min.map -- 2.1.4