OpenLayers OpenLayers

Changeset 4928

Show
Ignore:
Timestamp:
10/12/07 09:30:22 (10 months ago)
Author:
crschmidt
Message:

Update release building script to build naturaldocs.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/tools/release.sh

    r3002 r4928  
    11#!/bin/sh 
     2 
    23VERSION=$1 
    3 echo "Building OpenLayers $VERSION" 
     4 
    45svn export http://svn.openlayers.org/tags/openlayers/release-$VERSION OpenLayers-$VERSION 
    56cd OpenLayers-$VERSION/build 
    67./build.py full 
     8cp OpenLayers.js .. 
     9 
     10cd .. 
     11 
     12mkdir doc/devdocs 
     13mkdir doc/apidocs 
     14rm tools/*.pyc 
     15 
    716mkdir /www/openlayers/htdocs/api/$VERSION 
    817cp OpenLayers.js /www/openlayers/htdocs/api/$VERSION 
    9 cd .. 
    1018cp -a img/ /www/openlayers/htdocs/api/$VERSION 
    1119cp -a theme/ /www/openlayers/htdocs/api/$VERSION 
    12 rm tools/*.pyc 
     20 
    1321cd .. 
    14 tar -zvcf OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION 
    15 zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION 
    16 cp OpenLayers-$VERSION.{tar.gz,zip} /www/openlayers/htdocs/download/ 
     22 
     23~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/devdocs -p OpenLayers-$VERSION/doc_config -s Small OL 
     24~/nd/NaturalDocs -i OpenLayers-$VERSION/lib -o HTML OpenLayers-$VERSION/doc/apidocs -p OpenLayers-$VERSION/apidoc_config -s Small OL 
     25 
     26tar cvfz OpenLayers-$VERSION.tar.gz OpenLayers-$VERSION/ 
     27zip -9r OpenLayers-$VERSION.zip OpenLayers-$VERSION/ 
     28 
     29cp OpenLayers-$VERSION.* /www/openlayers/htdocs/download