From eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Wed, 9 Mar 2016 16:59:15 +0100 Subject: Allow ARM failure --- cli/build.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 cli/build.rs (limited to 'cli/build.rs') diff --git a/cli/build.rs b/cli/build.rs new file mode 100644 index 0000000..e83c21a --- /dev/null +++ b/cli/build.rs @@ -0,0 +1,15 @@ +extern crate includedir_codegen; + +use std::env; + +use includedir_codegen::Compression; + +fn main() { + let mut cg = includedir_codegen::start("FILES"); + if env::var("PASSTHROUGH").is_ok() { + cg.passthrough(); + } + cg.dir("../templates", Compression::Gzip) + .build("data.rs") + .unwrap(); +} -- cgit v1.2.3