summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
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..04c4671
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,7 @@
+use std::path::Path;
+
+fn main() {
+ println!("cargo:rerun-if-changed=build.rs");
+ subplot_build::codegen(Path::new("cachedir.md"))
+ .expect("failed to generate code with Subplot");
+}