replaced closure-compiler
This commit is contained in:
parent
4a94a19535
commit
a90d377faa
|
@ -30,9 +30,9 @@ function minify {
|
||||||
local files=`ls $dir/*.js`
|
local files=`ls $dir/*.js`
|
||||||
local jsFiles=""
|
local jsFiles=""
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
jsFiles="$jsFiles --js $file"
|
jsFiles="$jsFiles $file"
|
||||||
done
|
done
|
||||||
closure-compiler --charset UTF-8 $jsFiles --js_output_file $outFile
|
uglifyjs -o $outFile $jsFiles
|
||||||
rm $files
|
rm $files
|
||||||
# add final new line to supress Debian warnings
|
# add final new line to supress Debian warnings
|
||||||
echo "" >> $outFile
|
echo "" >> $outFile
|
||||||
|
|
|
@ -3,7 +3,7 @@ Maintainer: Roland Gruber <post@rolandgruber.de>
|
||||||
Section: web
|
Section: web
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Standards-Version: 4.2.1
|
Standards-Version: 4.2.1
|
||||||
Build-Depends: debhelper (>= 9), po-debconf, cleancss, closure-compiler
|
Build-Depends: debhelper (>= 9), po-debconf, cleancss, node-uglify
|
||||||
Homepage: https://www.ldap-account-manager.org/
|
Homepage: https://www.ldap-account-manager.org/
|
||||||
|
|
||||||
Package: ldap-account-manager
|
Package: ldap-account-manager
|
||||||
|
|
|
@ -6,9 +6,9 @@ if [ ! -e $outFile ]; then
|
||||||
files=`ls templates/lib/*.js`
|
files=`ls templates/lib/*.js`
|
||||||
jsFiles=""
|
jsFiles=""
|
||||||
for file in $files; do
|
for file in $files; do
|
||||||
jsFiles="$jsFiles --js $file"
|
jsFiles="$jsFiles $file"
|
||||||
done
|
done
|
||||||
closure-compiler --charset UTF-8 $jsFiles --js_output_file $outFile
|
uglifyjs -o $outFile $jsFiles
|
||||||
rm $files
|
rm $files
|
||||||
# add final new line to supress Debian warnings
|
# add final new line to supress Debian warnings
|
||||||
echo "" >> $outFile
|
echo "" >> $outFile
|
||||||
|
|
Loading…
Reference in New Issue