summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-12-10 09:05:11 +0200
committerLars Wirzenius <liw@liw.fi>2021-12-10 09:07:10 +0200
commit07fb523edb88ed258243869ab474ee7a24e1e4de (patch)
tree0cac21072c9c7ab6096000f5d85db1455caa26ae /build.rs
parentd7ede939445fc73b782424c9e73fdadfcf4d4360 (diff)
downloadpandoc-filter-diagram-07fb523edb88ed258243869ab474ee7a24e1e4de.tar.gz
test: add implementation, running of Subplot scenarios
Sponsored-by: author
Diffstat (limited to 'build.rs')
-rw-r--r--build.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..fac2fff
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,7 @@
+use std::path::Path;
+
+fn main() {
+ println!("{:#?}", std::env::vars());
+ subplot_build::codegen(Path::new("pandoc-filter-diagram.md"))
+ .expect("failed to generate code with Subplot");
+}