diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-09 09:35:20 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-09 09:37:40 +0300 |
commit | 7655b5e1b285a44a73b722e761add249bfb0a821 (patch) | |
tree | 2b468abe8814eca41f2ad1b0150d4cc35e7e709a | |
parent | 491396ae87d5f0061c7f5da9f404d988f4e16bac (diff) | |
download | jt2-7655b5e1b285a44a73b722e761add249bfb0a821.tar.gz |
fix: use new Subplot external document metadata YAML file
Sponsored-by: author
-rwxr-xr-x | check | 6 | ||||
-rw-r--r-- | jt.subplot | 13 |
2 files changed, 16 insertions, 3 deletions
@@ -30,10 +30,10 @@ $hideok cargo test $hideok cargo fmt -- --check $hideok find . -type f -name '*.py' ! -name test.py -exec black --check '{}' + -$hideok subplot docgen jt.md --output jt.html -$hideok subplot docgen jt.md --output jt.pdf +$hideok subplot docgen jt.subplot --output jt.html +$hideok subplot docgen jt.subplot --output jt.pdf -$hideok subplot codegen jt.md --output test.py +$hideok subplot codegen jt.subplot --output test.py rm -f test.log target="$(cargo metadata --format-version=1 | jq -r .target_directory)" $hideok python3 test.py --log test.log --env "CARGO_TARGET_DIR=$target" "$@" diff --git a/jt.subplot b/jt.subplot new file mode 100644 index 0000000..1bf40a8 --- /dev/null +++ b/jt.subplot @@ -0,0 +1,13 @@ +title: "jt—a journalling tool" +author: Lars Wirzenius and Daniel Silverstone +markdowns: +- jt.md +bindings: +- subplot/jt.yaml +- lib/files.yaml +- lib/runcmd.yaml +impls: + python: + - subplot/jt.py + - lib/files.py + - lib/runcmd.py |