diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-09-09 06:43:28 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-09-09 06:43:28 +0000 |
commit | 3f3fd8faa4b8c6913609fe463a16b4bff0c7fd23 (patch) | |
tree | 2b468abe8814eca41f2ad1b0150d4cc35e7e709a | |
parent | 491396ae87d5f0061c7f5da9f404d988f4e16bac (diff) | |
parent | 7655b5e1b285a44a73b722e761add249bfb0a821 (diff) | |
download | jt2-3f3fd8faa4b8c6913609fe463a16b4bff0c7fd23.tar.gz |
Merge branch 'fixes2' into 'main'
fix: use new Subplot external document metadata YAML file
See merge request larswirzenius/jt!33
-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 |