summaryrefslogtreecommitdiff
path: root/examples/seq
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seq')
-rw-r--r--examples/seq/build.rs4
-rw-r--r--examples/seq/seq.subplot10
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