fix firmware build scripts & disable yuicompressor
This commit is contained in:
+2
-3
@@ -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
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user