OpenLayers OpenLayers

Changeset 503

Show
Ignore:
Timestamp:
06/02/06 14:00:04 (2 years ago)
Author:
crschmidt
Message:

Modify build to use local python script jsmin.py. This avoids us running into problems when shrinksafe is not working (as it wasn't around noon today) and users want to build their own Single File version of OpenLayers.

Files:

Legend:

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

    r395 r503  
    1717 
    1818CMD_SHRINKSAFE=${TOOLS_DIR}/shrinksafe.py 
     19CMD_JSMIN=${TOOLS_DIR}/jsmin.py 
    1920 
    2021LICENSE_HEADER_FILENAME=license.txt 
     
    3031echo Shrinking and post-processing... 
    3132# (We also append the license header here.) 
    32 ${CMD_SHRINKSAFE} ${TMP_OUTPUT_FILENAME} | cat ${LICENSE_HEADER_FILENAME} - > ${OUTPUT_FILENAME} 
     33cat ${LICENSE_HEADER_FILENAME} > ${OUTPUT_FILENAME} 
     34${CMD_JSMIN} <${TMP_OUTPUT_FILENAME} >> ${OUTPUT_FILENAME} 
    3335 
    3436echo