fix firmware build scripts & disable yuicompressor

This commit is contained in:
2017-09-09 14:38:03 +02:00
parent ab2dc10e35
commit 2d22d5cff1
3 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -9,13 +9,12 @@ mkdir -p html/css
cd html_orig cd html_orig
sh ./packjs.sh sh ./packjs.sh
sh ./packcss.sh
php ./build_html.php php ./build_html.php
cd .. cd ..
cp html_orig/js/app.js html/js/ cp html_orig/js/app.js html/js/
cp html_orig/css/app.css html/css/
sass html_orig/sass/app.scss html/css/app.css
rm html/css/app.css.map
cp html_orig/img/* html/img/ cp html_orig/img/* html/img/
cp html_orig/favicon.ico html/favicon.ico cp html_orig/favicon.ico html/favicon.ico
+1 -1
View File
@@ -18,7 +18,7 @@ GZIP_COMPRESSION = yes
# This option works only when GZIP_COMPRESSION is set to "yes" # This option works only when GZIP_COMPRESSION is set to "yes"
# http://yui.github.io/yuicompressor/ # http://yui.github.io/yuicompressor/
#Disabled by default. #Disabled by default.
COMPRESS_W_YUI = yes COMPRESS_W_YUI = no
YUI-COMPRESSOR = /usr/bin/yui-compressor YUI-COMPRESSOR = /usr/bin/yui-compressor
+1 -1
View File
@@ -2,4 +2,4 @@
echo "Building css..." echo "Building css..."
sass sass/app.scss css/app.css sass --style compressed sass/app.scss css/app.css