Translation update done using Pootle.
[phpmyadmin.git] / scripts / compress-js
blob445cae49fbd98a9d9a2269f62bb8202695a98a59
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 java -jar ./scripts/google-javascript-compiler/compiler.jar --js $file --js_output_file $file.tmp
8 cp -a $file sources/$file
9 mv $file.tmp $file
10 done