From 53158f81bde529cdb5439f4ce2eef30437eaea5d Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 16 Jun 2025 14:38:52 -0400 Subject: [PATCH] make builds atomic (eh) --- .gitignore | 3 ++- build.sh | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 95757f2..06a252d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,5 @@ css/code.css pgvv/ all_chars.txt **/fonts/**/*-Subset.* -woff2/ \ No newline at end of file +woff2/ +**/serve_/ diff --git a/build.sh b/build.sh index bca3aff..0e5db69 100755 --- a/build.sh +++ b/build.sh @@ -10,8 +10,6 @@ if ! [[ -d pgvv/ ]]; then deactivate fi -find acl.cool/serve/ ytheleus.org/serve/ -type f -mmin +11 -delete - function soup_config { rm soupault.toml cp ../soupault.toml soupault.toml @@ -60,10 +58,12 @@ pygmentize -f html -S algol_nu | grep -v 'line-height' >css/code.css builtin pushd acl.cool soup_config soupault +mv serve serve_ popd builtin pushd ytheleus.org soup_config soupault +mv serve serve_ popd deactivate