summaryrefslogtreecommitdiffstats
path: root/xtask/build.rs
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2023-06-22 21:17:15 -0500
committerToby Vincent <tobyv13@gmail.com>2023-07-08 11:46:15 -0500
commit2e4fa58f7df52e6d6c67f476bd51b99bce8056cf (patch)
tree122f21b37a885bb14de81b5101eee37d6c24d480 /xtask/build.rs
parentd5af0a52b60efcbb832b63962b273fcc70c24ff0 (diff)
build: simplify `xtask dist` and add --check
Diffstat (limited to 'xtask/build.rs')
-rw-r--r--xtask/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/xtask/build.rs b/xtask/build.rs
new file mode 100644
index 0000000..6755961
--- /dev/null
+++ b/xtask/build.rs
@@ -0,0 +1,5 @@
+fn main() {
+ // Calling `build_info_build::build_script` collects all data and makes it available to
+ // `build_info::build_info!` and `build_info::format!` in the main program.
+ build_info_build::build_script();
+}