diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-12 08:28:24 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-12 13:03:14 +0200 |
commit | e3d97f0ce778644a25329d08ba00645039e01447 (patch) | |
tree | 9d2dd2a4b5c701bf61b331d457da5f530ea17c35 /examples/seq/build.rs | |
parent | 6bd0d5d29953d522446552e2f49757c2481c0b19 (diff) | |
download | subplot-e3d97f0ce778644a25329d08ba00645039e01447.tar.gz |
docs: add example of minimal subplot using Rust step functions
Sponsored-by: author
Diffstat (limited to 'examples/seq/build.rs')
-rw-r--r-- | examples/seq/build.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/seq/build.rs b/examples/seq/build.rs new file mode 100644 index 0000000..398ec90 --- /dev/null +++ b/examples/seq/build.rs @@ -0,0 +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"); +} |