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