diff --git a/tools/release.sh b/tools/release.sh index 6a227dd5bf..318d93c5b7 100755 --- a/tools/release.sh +++ b/tools/release.sh @@ -4,11 +4,15 @@ VERSION=$1 svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION cd OpenLayers-$VERSION/build -./build.py full +./build.py -c closure full cp OpenLayers.js .. cd .. +for i in google ie6-style style; do + csstidy theme/default/$i.css --template=highest theme/default/$i.tidy.css +done + mkdir doc/devdocs mkdir doc/apidocs rm tools/*.pyc diff --git a/tools/update_dev_dir.sh b/tools/update_dev_dir.sh index 0681de1845..c0a2b57bc7 100755 --- a/tools/update_dev_dir.sh +++ b/tools/update_dev_dir.sh @@ -22,7 +22,11 @@ if [ ! o$REV = $OLD_REV ]; then cp OpenLayers.js .. cd .. - + for i in google ie6-style style; do + csstidy theme/default/$i.css --template=highest theme/default/$i.tidy.css + cp theme/default/$i.tidy.css theme/default/$i.css + done + sed -i -e 's!../lib/OpenLayers.js!../OpenLayers.js!' examples/*.html naturaldocs -i /osgeo/openlayers/docs/dev/lib -o HTML /osgeo/openlayers/dev/apidocs -p /osgeo/openlayers/docs/dev/apidoc_config -s Default OL >/dev/null naturaldocs -i /osgeo/openlayers/docs/dev/lib -o HTML /osgeo/openlayers/dev/docs -p /osgeo/openlayers/docs/dev/doc_config -s Default OL >/dev/null