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