summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheck6
-rw-r--r--jt.subplot13
2 files changed, 16 insertions, 3 deletions
diff --git a/check b/check
index 801c75c..0a75438 100755
--- a/check
+++ b/check
@@ -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