[OpenLayers-Commits] r11538 - trunk/openlayers/tools

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Fri Feb 25 14:06:59 EST 2011


Author: crschmidt
Date: 2011-02-25 11:06:58 -0800 (Fri, 25 Feb 2011)
New Revision: 11538

Modified:
   trunk/openlayers/tools/update_dev_dir.sh
Log:
Update the dev dir building script to take the '?mobile' flagged .js
files and use the mobile OL build on them.


Modified: trunk/openlayers/tools/update_dev_dir.sh
===================================================================
--- trunk/openlayers/tools/update_dev_dir.sh	2011-02-25 18:35:50 UTC (rev 11537)
+++ trunk/openlayers/tools/update_dev_dir.sh	2011-02-25 19:06:58 UTC (rev 11538)
@@ -19,14 +19,18 @@
     python exampleparser.py
     cd /osgeo/openlayers/docs/dev/build
     ./build.py -c closure tests.cfg
+    ./build.py -c closure mobile.cfg OpenLayers.mobile.js
     
     cp OpenLayers.js ..
+    cp OpenLayers.mobile.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\?mobile!../OpenLayers.mobile.js!' examples/*.html
     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