Merge branch 'QA_3_4'
[phpmyadmin-themes.git] / scripts / compress-js
blobea43782eae015eb3a2a773c14977d56a8108f97a
1 #!/bin/sh
3 set -e
5 for file in `find js -name '*.js' -not -name '*min.js'` ; do
6 mkdir -p sources/`dirname $file`
7 mv $file sources/$file
8 java -jar ./scripts/google-javascript-compiler/compiler.jar --js sources/$file --js_output_file $file
9 done