mirror of
https://git.acl.cool/al/pages.git
synced 2025-12-15 12:01:17 -05:00
set -e in build.sh
This commit is contained in:
parent
ce3fa344e8
commit
c3c9200998
3 changed files with 10 additions and 2 deletions
5
acl.cool/site/draft/umbral4.dj
Normal file
5
acl.cool/site/draft/umbral4.dj
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Umbral Gaze 4: The Candlehead
|
||||
|
||||
_Last time, on Umbral Gaze . . ._
|
||||
|
||||
lorem
|
||||
5
build.sh
5
build.sh
|
|
@ -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)"
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ body {
|
|||
|
||||
h1 {
|
||||
color: var(--darkest-color);
|
||||
margin-bottom: 0.5rem;
|
||||
margin-bottom: 0.55rem;
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue