From da1a79018afcfae5d3379174b19aa303bf9d197a Mon Sep 17 00:00:00 2001 From: Matt Priour Date: Wed, 29 Feb 2012 09:57:22 -0600 Subject: [PATCH] Build full, light & mobile minified & debug versions of OpenLayers during release & dev dir update process --- tools/release.sh | 6 ++++++ tools/update_dev_dir.sh | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/tools/release.sh b/tools/release.sh index 85124e8790..5465766473 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -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 .. diff --git a/tools/update_dev_dir.sh b/tools/update_dev_dir.sh index 743bfc8f15..9c272293fc 100755 --- a/tools/update_dev_dir.sh +++ b/tools/update_dev_dir.sh @@ -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