summaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-03-29 20:11:40 +0300
committerLars Wirzenius <liw@liw.fi>2022-03-29 20:11:40 +0300
commit4402c3a02e15a7d1538bad6df616bbef2983a600 (patch)
treea53cf1ab3570c0e6e109fd258a88915d1ceaadf6 /build.rs
parenta9e9c7db2195f571904307165b98317b48a5534c (diff)
downloadcachedir-rs-4402c3a02e15a7d1538bad6df616bbef2983a600.tar.gz
setup subplot running
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..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");
+}