From 269749ec23cf104eb6e51597dec84ea48528e165 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 25 Feb 2011 10:28:52 +0000 Subject: [PATCH] Automatically grab and unpack the closure compiler when building releases. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11478 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tools/release.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/release.sh b/tools/release.sh index 318d93c5b7..7a6cff142f 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -2,10 +2,15 @@ VERSION=$1 +wget -c http://closure-compiler.googlecode.com/files/compiler-latest.zip +unzip compiler-latest.zip + svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build +mv ../../compiler.jar ../tools/closure-compiler.jar ./build.py -c closure full cp OpenLayers.js .. +rm ../tools/closure-compiler.jar cd ..