aboutsummaryrefslogtreecommitdiff
path: root/www/generate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'www/generate.sh')
-rwxr-xr-xwww/generate.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/www/generate.sh b/www/generate.sh
index 27d2a74b..21610a2f 100755
--- a/www/generate.sh
+++ b/www/generate.sh
@@ -1,3 +1,7 @@
#!/bin/bash
+
+[ "x${DEBUG+set}" = 'xset' ] && set -v
+set -e
+
find -L . -name '*.html' -and -not -name 'template.html' -delete
find -L . -name '*.md' -exec ./publish.sh {} \;