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:
@@ -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 ..
|
||||
|
||||
|
||||
Reference in New Issue
Block a user