replaced closure-compiler

This commit is contained in:
Roland Gruber 2018-12-10 17:53:38 +01:00
parent 4a94a19535
commit a90d377faa
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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