Update the dev dir building script to take the '?mobile' flagged .js
files and use the mobile OL build on them. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11538 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -19,14 +19,18 @@ if [ ! o$REV = $OLD_REV ]; then
|
|||||||
python exampleparser.py
|
python exampleparser.py
|
||||||
cd /osgeo/openlayers/docs/dev/build
|
cd /osgeo/openlayers/docs/dev/build
|
||||||
./build.py -c closure tests.cfg
|
./build.py -c closure tests.cfg
|
||||||
|
./build.py -c closure mobile.cfg OpenLayers.mobile.js
|
||||||
|
|
||||||
cp OpenLayers.js ..
|
cp OpenLayers.js ..
|
||||||
|
cp OpenLayers.mobile.js ..
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
for i in google ie6-style style; do
|
for i in google ie6-style style; do
|
||||||
csstidy theme/default/$i.css --template=highest theme/default/$i.tidy.css
|
csstidy theme/default/$i.css --template=highest theme/default/$i.tidy.css
|
||||||
cp theme/default/$i.tidy.css theme/default/$i.css
|
cp theme/default/$i.tidy.css theme/default/$i.css
|
||||||
done
|
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
|
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/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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user