Merge branch 'QA_3_3'
[phpmyadmin/dkf.git] / scripts / compress-js
blob0646527500da40458506639c0e25fee8075adecd
1 #!/bin/sh
3 for file in `find js -name '*.js' -not -name '*min.js'` ; do
4 mkdir -p sources/`dirname $file`
5 mv $file sources/$file
6 java -jar ./scripts/google-javascript-compiler/compiler.jar --js sources/$file --js_output_file $file --compilation_level ADVANCED_OPTIMIZATIONS
7 done