hscc

Soure code of <https://hugo.soucy.cc>.
git clone git://soucy.cc/hscc.git
Log | Files | Refs

commit ac98c52002f56abc334895c538153c3814334614
parent 3d116227f024782bf1c5b73d703d886a012b14b4
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue,  8 Feb 2022 19:54:37 -0500

Enhance the CSS shell script

Diffstat:
Msrc/css/css.sh | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/css/css.sh b/src/css/css.sh @@ -6,7 +6,7 @@ dst="../../public_html/css/" while read -r line; do [ -n "$line" ] && cat "./$line" -done <<-EOF > "${dst}index.css" +done <<-EOF > "${dst}index.css" && cssmin "${dst}index.css" > "${dst}index.min.css" global/tokens/typography.css global/tokens/colors.css global/tokens/grid.css @@ -33,9 +33,9 @@ modules/tags.css modules/webmentions.css EOF -cp print.css "${dst}print.css" +# cp print.css "${dst}print.css" -cssmin "${dst}index.css" > "${dst}index.min.css" -cssmin "${dst}print.css" > "${dst}print.min.css" +# cssmin "${dst}index.css" > "${dst}index.min.css" +# cssmin "${dst}print.css" > "${dst}print.min.css" echo "CSS builded! @ $(date +"%Y-%m-%d %T")"