fix firmware build scripts & disable yuicompressor

http-comm
Ondřej Hruška 7 years ago
parent ab2dc10e35
commit 2d22d5cff1
  1. 5
      build_web.sh
  2. 2
      esphttpdconfig.mk
  3. 2
      html_orig/packcss.sh

@ -9,13 +9,12 @@ mkdir -p html/css
cd html_orig
sh ./packjs.sh
sh ./packcss.sh
php ./build_html.php
cd ..
cp html_orig/js/app.js html/js/
sass html_orig/sass/app.scss html/css/app.css
rm html/css/app.css.map
cp html_orig/css/app.css html/css/
cp html_orig/img/* html/img/
cp html_orig/favicon.ico html/favicon.ico

@ -18,7 +18,7 @@ GZIP_COMPRESSION = yes
# This option works only when GZIP_COMPRESSION is set to "yes"
# http://yui.github.io/yuicompressor/
#Disabled by default.
COMPRESS_W_YUI = yes
COMPRESS_W_YUI = no
YUI-COMPRESSOR = /usr/bin/yui-compressor

@ -2,4 +2,4 @@
echo "Building css..."
sass sass/app.scss css/app.css
sass --style compressed sass/app.scss css/app.css

Loading…
Cancel
Save