crayon-syntax-highlighter/util/minify.sh
2019-08-30 19:30:19 +02:00

18 lines
366 B
Bash

#!/bin/bash
BASEDIR=$(dirname $0)
cd $BASEDIR
MINIFIER='/Users/Aram/Development/Tools/yuicompressor-2.4.7.jar'
INPUT_PATH='src'
OUTPUT_PATH='min'
TE_PATH='../util/tag-editor'
COLORBOX_PATH='../util/tag-editor/colorbox'
JS_PATH='../js'
function minify {
inputs=${@:0:$#}
output=${@:$#}
cat $inputs > $output
java -jar $MINIFIER $output -o $output
}