[OpenLayers-Commits] r11477 - trunk/openlayers/tools
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Fri Feb 25 05:23:43 EST 2011
Author: crschmidt
Date: 2011-02-25 02:23:42 -0800 (Fri, 25 Feb 2011)
New Revision: 11477
Modified:
trunk/openlayers/tools/release.sh
trunk/openlayers/tools/update_dev_dir.sh
Log:
Using CSS tidy to compress stylesheets on the dev site always, and to
include tidy-ified stylesheets in the released builds.
Modified: trunk/openlayers/tools/release.sh
===================================================================
--- trunk/openlayers/tools/release.sh 2011-02-25 10:22:48 UTC (rev 11476)
+++ trunk/openlayers/tools/release.sh 2011-02-25 10:23:42 UTC (rev 11477)
@@ -4,11 +4,15 @@
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
Modified: trunk/openlayers/tools/update_dev_dir.sh
===================================================================
--- trunk/openlayers/tools/update_dev_dir.sh 2011-02-25 10:22:48 UTC (rev 11476)
+++ trunk/openlayers/tools/update_dev_dir.sh 2011-02-25 10:23:42 UTC (rev 11477)
@@ -22,7 +22,11 @@
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
More information about the Commits
mailing list