diff options
author | Till Höppner | 2016-03-09 16:59:15 +0100 |
---|---|---|
committer | Till Höppner | 2016-03-09 17:01:04 +0100 |
commit | eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd (patch) | |
tree | 4af753d758b1349b105d4b79dc2ac740cff28581 /cli/build.rs | |
parent | e15f184edc228b991ee87ca39a6a177e6938d9c6 (diff) | |
download | ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.gz ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.tar.xz ilc-eca90a051b4daebe12a8421c6c4f57d5b5b9fbbd.zip |
Allow ARM failure
Diffstat (limited to 'cli/build.rs')
-rw-r--r-- | cli/build.rs | 15 |
1 files changed, 15 insertions, 0 deletions
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(); +} |