repo.or.cz
/
phpmyadmin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translation update done using Pootle.
[phpmyadmin.git]
/
scripts
/
compress-js
blob
445cae49fbd98a9d9a2269f62bb8202695a98a59
1
#!/bin/sh
2
3
set -e
4
5
for
file
in
`find js -name '*.js' -not -name '*min.js'`
;
do
6
mkdir
-p source
s
/
`dirname
$file
`
7
java
-jar
.
/
script
s
/
google-javascript-compiler
/
compiler.jar
--js
$file
--js_output_file
$file
.tmp
8
cp
-a
$file
source
s
/
$file
9
mv
$file
.tmp
$file
10
done