Build full, light & mobile minified & debug versions of OpenLayers during release & dev dir update process
This commit is contained in:
@@ -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 ..
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user