summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-09 09:23:58 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-09 09:23:58 +0300
commit60192604e815dc4c9cf1dbab44b6c78c1a9833f7 (patch)
treef932eb9c132ae4fc3f515a63a223d909287ccd88 /check
parentee3f1586ef8701edda3fbb21a3827634965d6efc (diff)
downloadclab-60192604e815dc4c9cf1dbab44b6c78c1a9833f7.tar.gz
fix: adapt to new Subplot external metadata file requirement
Sponsored-by: author
Diffstat (limited to 'check')
-rwxr-xr-xcheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/check b/check
index aaad3cf..c8e8b46 100755
--- a/check
+++ b/check
@@ -23,11 +23,11 @@ $hideok cargo build --all-targets
got_cargo_cmd fmt && $hideok cargo fmt -- --check
$hideok cargo test
-subplot docgen clab.md -o clab.html
-subplot docgen clab.md -o clab.pdf
+subplot docgen clab.subplot -o clab.html
+subplot docgen clab.subplot -o clab.pdf
target="$(cargo metadata --format-version=1 | python3 -c 'import sys, json; o = json.load(sys.stdin); print(o["target_directory"])')"
-subplot codegen clab.md -o test.py
+subplot codegen clab.subplot -o test.py
rm -f test.log
if [ "$(id -un)" = root ]; then
echo Not running tests as root.