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
This commit is contained in:
crschmidt
2011-02-25 10:28:52 +00:00
parent be040c6614
commit 269749ec23

View File

@@ -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 ..