update minified javascripts
parent
bde68bd8ca
commit
0e67ba2bd4
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -22,11 +22,33 @@ JSFILES=(
|
||||||
"view/theme/frost-mobile/js/theme.js"
|
"view/theme/frost-mobile/js/theme.js"
|
||||||
"view/theme/decaf-mobile/js/theme.js"
|
"view/theme/decaf-mobile/js/theme.js"
|
||||||
)
|
)
|
||||||
|
JSFILES2=(
|
||||||
|
"library/colorbox/jquery.colorbox.js"
|
||||||
|
)
|
||||||
|
JSFILES3=(
|
||||||
|
"library/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js"
|
||||||
|
)
|
||||||
|
|
||||||
for i in ${JSFILES[@]}
|
for i in ${JSFILES[@]}
|
||||||
do
|
do
|
||||||
echo "Processing $i"
|
|
||||||
MINFILE=${i%%.js}.min.js
|
MINFILE=${i%%.js}.min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES2[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%.js}-min.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
|
rm $MINFILE
|
||||||
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
|
done
|
||||||
|
|
||||||
|
for i in ${JSFILES3[@]}
|
||||||
|
do
|
||||||
|
MINFILE=${i%%_src.js}.js
|
||||||
|
echo "Minifying $i into $MINFILE"
|
||||||
rm $MINFILE
|
rm $MINFILE
|
||||||
$MINIFY_CMD -o $MINFILE $i
|
$MINIFY_CMD -o $MINFILE $i
|
||||||
done
|
done
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue