mirror of
https://github.com/HananoshikaYomaru/openfreebooks.git
synced 2026-11-12 20:45:52 +00:00
11 lines
323 B
Bash
11 lines
323 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
matches="$(find themes/openfreebooks/static -type f -name '*.html' -print)"
|
|
|
|
if [[ -n "${matches}" ]]; then
|
|
echo "Error: stale HTML files found under themes/openfreebooks/static:"
|
|
echo "${matches}"
|
|
echo "Remove them so Zola output stays source-of-truth in public/."
|
|
exit 1
|
|
fi
|