summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-09-15 08:15:51 +0300
committerLars Wirzenius <liw@liw.fi>2022-09-15 08:17:04 +0300
commitae42b4fbeb305b0c8ab3b6b847ce34ab4c10e229 (patch)
tree1e85da1fd01dcfeeac5870743cb61cb927865b87
parent2cab75c9ab5df447e7d676d968fc5ffbd006d231 (diff)
downloadcachedir-rs-ae42b4fbeb305b0c8ab3b6b847ce34ab4c10e229.tar.gz
fix: partially adapt to new external Subplot YAML metadata
build.rs needs to wait for the next Subplot release before it can use the new cachedir.subplot file. After than, the metadata can be dropped from cachedir.md. This partial migration fixes my CI, though, so it's a good step to take. Sponsored-by: author
-rw-r--r--cachedir.subplot11
-rwxr-xr-xcheck4
2 files changed, 13 insertions, 2 deletions
diff --git a/cachedir.subplot b/cachedir.subplot
new file mode 100644
index 0000000..7101ab3
--- /dev/null
+++ b/cachedir.subplot
@@ -0,0 +1,11 @@
+title: "`cachedir`&mdash;cache directory tag management"
+author: The Obnam project
+markdowns:
+ - cachedir.md
+bindings:
+ - lib/files.yaml
+ - lib/runcmd.yaml
+ - subplot.yaml
+impls:
+ rust:
+ - subplot.rs
diff --git a/check b/check
index 8e40071..2c8e3ba 100755
--- a/check
+++ b/check
@@ -31,7 +31,7 @@ got_cargo_cmd fmt && cargo fmt -- --check
cargo build --all-targets $quiet
$hideok cargo test
-subplot docgen cachedir.md -o cachedir.html
-subplot docgen cachedir.md -o cachedir.pdf
+subplot docgen cachedir.subplot -o cachedir.html
+subplot docgen cachedir.subplot -o cachedir.pdf
echo "Everything seems to be in order."