simpler, lack of bugs

This commit is contained in:
Yann Esposito (Yogsototh) 2021-05-02 21:15:12 +02:00
parent b4a2c9cdfe
commit c925082fa0
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ retrieve_classes_in_css () {
classes=( $( {retrieve_classes_in_html; retrieve_classes_in_css}| \
egrep "^CLASS: [^ ]*$" |\
sort -u | \
awk 'length($2)>2 && $2 !~ /(gzwebfilesize|webfilesize|yyydate|example|src)/ {print length($2),$2}'|\
awk '$2 !~ /(gzwebfilesize|webfilesize|yyydate|example|src)/ {print length($2),$2}'|\
sort -rn | \
awk '{print $2}') )

View file

@ -8,8 +8,8 @@ echo "Optim HTML size"
./engine/optim-html.sh
# echo "Gen themes clones"
# ./engine/dup-for-themes.sh
echo "Optim Classes accross CSS/HTML"
./engine/optim-classes.sh
# echo "Optim Classes accross CSS/HTML"
# ./engine/optim-classes.sh
# echo "Update file size"
# ./engine/update-file-size.sh
echo "Building RSS"