diff options
-rwxr-xr-x | check | 6 | ||||
-rw-r--r-- | clab.md | 14 | ||||
-rw-r--r-- | clab.subplot | 13 |
3 files changed, 16 insertions, 17 deletions
@@ -23,11 +23,11 @@ $hideok cargo build --all-targets got_cargo_cmd fmt && $hideok cargo fmt -- --check $hideok cargo test -subplot docgen clab.md -o clab.html -subplot docgen clab.md -o clab.pdf +subplot docgen clab.subplot -o clab.html +subplot docgen clab.subplot -o clab.pdf target="$(cargo metadata --format-version=1 | python3 -c 'import sys, json; o = json.load(sys.stdin); print(o["target_directory"])')" -subplot codegen clab.md -o test.py +subplot codegen clab.subplot -o test.py rm -f test.log if [ "$(id -un)" = root ]; then echo Not running tests as root. @@ -1,17 +1,3 @@ ---- -title: "clab; – command line address book" -author: Lars Wirzenius -bindings: -- subplot/clab.yaml -- lib/files.yaml -- lib/runcmd.yaml -impls: - python: - - subplot/clab.py - - lib/files.py - - lib/runcmd.py -... - # Introduction `clab` is a command line address book application. It has no diff --git a/clab.subplot b/clab.subplot new file mode 100644 index 0000000..0673c4e --- /dev/null +++ b/clab.subplot @@ -0,0 +1,13 @@ +title: "clab; – command line address book" +author: Lars Wirzenius +markdowns: +- clab.md +bindings: +- subplot/clab.yaml +- lib/files.yaml +- lib/runcmd.yaml +impls: + python: + - subplot/clab.py + - lib/files.py + - lib/runcmd.py |