Build full, light & mobile minified & debug versions of OpenLayers during release & dev dir update process

This commit is contained in:
Matt Priour
2012-02-29 09:57:22 -06:00
parent 85b997fa0e
commit da1a79018a
2 changed files with 11 additions and 1 deletions

View File

@@ -9,7 +9,13 @@ svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers
cd OpenLayers-$VERSION/build
mv ../../compiler.jar ../tools/closure-compiler.jar
./build.py -c closure full
./build.py -c closure mobile OpenLayers.mobile.js
./build.py -c closure light OpenLayers.light.js
./build.py -c none full OpenLayers.debug.js
./build.py -c none mobile OpenLayers.mobile.debug.js
./build.py -c none light OpenLayers.light.debug.js
cp OpenLayers.js ..
cp OpenLayers.*.js ..
rm ../tools/closure-compiler.jar
cd ..

View File

@@ -26,9 +26,13 @@ if [ ! o$GITREV = $OLD_GITREV ]; then
cd /osgeo/openlayers/docs/dev/build
./build.py -c closure tests.cfg
./build.py -c closure mobile.cfg OpenLayers.mobile.js
./build.py -c closure light.cfg OpenLayers.light.js
./build.py -c none tests.cfg OpenLayers.debug.js
./build.py -c none mobile.cfg OpenLayers.mobile.debug.js
./build.py -c none light.cfg OpenLayers.light.debug.js
cp OpenLayers.js ..
cp OpenLayers.mobile.js ..
cp OpenLayers.*.js ..
cd ..
for i in google ie6-style style; do