summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-09 06:56:53 +0000
committerLars Wirzenius <liw@liw.fi>2022-09-09 06:56:53 +0000
commitddf000dc737b45fb901427dc4a12cccaef30ad30 (patch)
tree347d3b74a1c64e80d671a48af7d7f111df26a4d7
parent87c9afa2bbb937e259fc04ee3baf677a0475cd9c (diff)
parentf5d18169510595af6f3ac107624735bd06e1a8b4 (diff)
downloadsummain-rs-ddf000dc737b45fb901427dc4a12cccaef30ad30.tar.gz
Merge branch 'fixes' into 'main'
fix: use new external YAML document metadata for subplot See merge request obnam/summain!34
-rwxr-xr-xcheck6
-rw-r--r--summain.md12
-rw-r--r--summain.subplot11
3 files changed, 14 insertions, 15 deletions
diff --git a/check b/check
index 0830900..24b73fe 100755
--- a/check
+++ b/check
@@ -30,10 +30,10 @@ cargo build --all-targets $quiet
got_cargo_cmd clippy && cargo clippy $quiet
got_cargo_cmd fmt && cargo fmt -- --check
-subplot docgen summain.md -o summain.html
-subplot docgen summain.md -o summain.pdf
+subplot docgen summain.subplot -o summain.html
+subplot docgen summain.subplot -o summain.pdf
-subplot codegen summain.md -o test.py
+subplot codegen summain.subplot -o test.py
rm -f test.log
if ! $hideok python3 test.py --log test.log "$@"; then
tail -n500 test.log
diff --git a/summain.md b/summain.md
index ae6166a..3721b0f 100644
--- a/summain.md
+++ b/summain.md
@@ -245,15 +245,3 @@ size: 0
sha256: ~
target: ~
```
-
----
-title: "Summain&mdash;deterministic file manifests"
-author: Lars Wirzenius
-bindings:
- - subplot/summain.yaml
- - lib/runcmd.yaml
-impls:
- python:
- - subplot/summain.py
- - lib/runcmd.py
-...
diff --git a/summain.subplot b/summain.subplot
new file mode 100644
index 0000000..a75957a
--- /dev/null
+++ b/summain.subplot
@@ -0,0 +1,11 @@
+title: "Summain&mdash;deterministic file manifests"
+author: Lars Wirzenius
+markdowns:
+ - summain.md
+bindings:
+ - subplot/summain.yaml
+ - lib/runcmd.yaml
+impls:
+ python:
+ - subplot/summain.py
+ - lib/runcmd.py