repo.or.cz
/
phpmyadmin
/
ammar_yasir.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Inline edit links were not displayed in search results
[phpmyadmin/ammar_yasir.git]
/
scripts
/
compress-js
blob
ea43782eae015eb3a2a773c14977d56a8108f97a
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
mv
$file
source
s
/
$file
8
java
-jar
.
/
script
s
/
google-javascript-compiler
/
compiler.jar
--js source
s
/
$file
--js_output_file
$file
9
done