set -e in build.sh

This commit is contained in:
Alexander 2025-07-31 08:39:38 -04:00
parent ce3fa344e8
commit c3c9200998
3 changed files with 10 additions and 2 deletions

View file

@ -0,0 +1,5 @@
# Umbral Gaze 4: The Candlehead
_Last time, on Umbral Gaze . . ._
lorem

View file

@ -62,6 +62,9 @@ done
rm css/code.css
pygmentize -f html -S algol_nu | grep -v 'line-height' >css/code.css
# The stuff below should be all or nothing, so we exit if something returns non-zero
set -e
for site in acl.cool ytheleus.org; do
pushd "$site"
soup_config
@ -70,7 +73,7 @@ for site in acl.cool ytheleus.org; do
if (( $? != 0 )); then
exit $?;
fi
pushd serve &&
pushd serve
find -type f -name '*.html' -o -name '*.css' -o -name '*.svg' | xargs -0 -d\\n -I{} minify -o {} {}
popd
NEXT_DIR="serve_$(date +%s)"

View file

@ -59,7 +59,7 @@ body {
h1 {
color: var(--darkest-color);
margin-bottom: 0.5rem;
margin-bottom: 0.55rem;
margin-top: 3rem;
}