summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck9
1 files changed, 9 insertions, 0 deletions
diff --git a/check b/check
new file mode 100755
index 0000000..6fa29e0
--- /dev/null
+++ b/check
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+set -euo pipefail
+
+sp-docgen my-sites.md -o my-sites.html
+sp-docgen my-sites.md -o my-sites.pdf
+sp-codegen my-sites.md -o test.py
+rm -f test.log
+python3 test.py --log test.log "$@"