Skip to content

Commit

Permalink
Build full, light & mobile minified & debug versions of OpenLayers du…
Browse files Browse the repository at this point in the history
…ring release & dev dir update process
  • Loading branch information
Matt Priour committed Feb 29, 2012
1 parent 85b997f commit da1a790
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions tools/release.sh
Expand Up @@ -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 ..
Expand Down
6 changes: 5 additions & 1 deletion tools/update_dev_dir.sh
Expand Up @@ -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
Expand Down

0 comments on commit da1a790

Please sign in to comment.