remove old html at build, only build pages that have been updated

This commit is contained in:
2025-05-14 14:55:26 -07:00
parent 14bde5f2dd
commit 0f2e5feb92
2 changed files with 35 additions and 13 deletions

View File

@ -1,6 +1,7 @@
#!/bin/bash
mkdir data
(cd src; hy build.hy)
rm -rf site/html
mkdir -p site/{html,assets,scripts}
cp -r src/output/* site/html
echo 'html generated'