hscc

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

commit c3540e254b4cf05a56acc3d03ad6f2ed485dd5dd
parent d7f0373b7409ba6a3811bcdb8097ff7256714932
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri, 25 Feb 2022 21:02:14 -0500

Delete an old shell script

Diffstat:
Dsrc/css/css_test.sh | 66------------------------------------------------------------------
1 file changed, 0 insertions(+), 66 deletions(-)

diff --git a/src/css/css_test.sh b/src/css/css_test.sh @@ -1,66 +0,0 @@ -#!/bin/sh -# You can use it with entr to rebuild on change: -# find . | entr -d ./css.sh - -# CSS destination path -dst="../../public_html/css/" - -# Global CSS -while read -r line; do - [ -n "$line" ] && cat "./$line" -done <<-EOF | cat #> "${dst}global.css" -global/tokens/typography.css -global/tokens/colors.css -global/tokens/grid.css -global/base.css -global/a11y.css - -atoms/typography/titles.css -atoms/typography/quotes.css -atoms/buttons/button.css -EOF - -# Top CSS -while read -r line; do - [ -n "$line" ] && cat "./$line" -done <<-EOF > "${dst}top.css" -modules/header-banner.css -modules/go-to.css -modules/hcard.css -EOF - -# Middle CSS -while read -r line; do - [ -n "$line" ] && cat "./$line" -done <<-EOF > "${dst}middle.css" -modules/main.css -modules/hentry.css -modules/webmentions.css -EOF - -# Bottom CSS -while read -r line; do - [ -n "$line" ] && cat "./$line" -done <<-EOF > "${dst}bottom.css" -modules/nav.css -modules/footer-banner.css -EOF - -# Page specific CSS -while read -r line; do - [ -n "$line" ] && cp "./$line" "$dst" -done <<-EOF -modules/hfeed.css -modules/archives.css -modules/hresume.css -modules/xfn.css -modules/tags.css -print.css -EOF - -# Minified all CSS -#find "$dst" -type f \( -name "*.css" \! -name "*.min.css" \) | while IFS="" read -r CSS; do echo "$CSS" done -# cssmin "${dst}index.css" > "${dst}index.min.css" -# cssmin "${dst}print.css" > "${dst}print.min.css" - -echo "CSS builded! @ $(date +"%Y-%m-%d %T")"