Changeset 762
- Timestamp:
- Aug 2, 2010, 3:06:10 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/scripts/minify_if_changed.sh
r745 r762 23 23 # be created 24 24 # 25 # Dependencies: 26 # - YUI Compressor ( http://yuilibrary.com/downloads/#yuicompressor ) 27 # - JAVA ( obviously ) 28 # - md5sum ( by default available on most systems ) 29 # 25 30 # @Author Jeroen Wesbeek <J****n.W******@gmail.com> 26 31 # @Since 20100729 … … 31 36 # $Rev$ 32 37 38 YUI_COMPRESSOR=~/apps/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar 33 39 SOURCE=$1 34 40 ONLY_IF_MINIFIED_ALREADY_EXISTS=$2 … … 64 70 65 71 # minify sourcefile 66 java -jar ~/apps/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar$SOURCE > $TMP_FILE72 java -jar $YUI_COMPRESSOR $SOURCE > $TMP_FILE 67 73 68 74 # determine the MD5 hash of the generated file
Note: See TracChangeset
for help on using the changeset viewer.