diff options
author | Daniel Silverstone <dsilvers+gitlab@digital-scurf.org> | 2022-09-08 18:27:49 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers+gitlab@digital-scurf.org> | 2022-09-08 18:27:49 +0000 |
commit | 4e54fa9ea0485aac2d750c5eb4fa9ead83ecf365 (patch) | |
tree | a7c22c35da5811f19fa02772ecc6498d87d63030 /examples/seq | |
parent | c230684f3bab80154d5224d4f2f71eafd00fd100 (diff) | |
parent | 765b2e1d4d94b2274de28d4efd24bfe77e8d93ac (diff) | |
download | subplot-4e54fa9ea0485aac2d750c5eb4fa9ead83ecf365.tar.gz |
Merge branch 'liw/yamlfile' into 'main'
feat! read document metadata from a YAML file
Closes #283
See merge request subplot/subplot!287
Diffstat (limited to 'examples/seq')
-rw-r--r-- | examples/seq/build.rs | 4 | ||||
-rw-r--r-- | examples/seq/seq.subplot | 10 |
2 files changed, 12 insertions, 2 deletions
diff --git a/examples/seq/build.rs b/examples/seq/build.rs index 398ec90..d730645 100644 --- a/examples/seq/build.rs +++ b/examples/seq/build.rs @@ -1,6 +1,6 @@ //! Subplot seq example build script. fn main() { - println!("cargo:rerun-if-changed=seq.md"); - subplot_build::codegen("seq.md").expect("failed to generate code with Subplot"); + println!("cargo:rerun-if-changed=seq.subplot"); + subplot_build::codegen("seq.subplot").expect("failed to generate code with Subplot"); } diff --git a/examples/seq/seq.subplot b/examples/seq/seq.subplot new file mode 100644 index 0000000..a6a6219 --- /dev/null +++ b/examples/seq/seq.subplot @@ -0,0 +1,10 @@ +title: "**seq**(1) acceptance tests" +author: The Subplot project +markdowns: + - seq.md +bindings: + - lib/runcmd.yaml + - seq-extras.yaml +impls: + rust: + - seq-extras.rs |