From aea35fa7e1a3261e5e7a3e8daa999bed3dcd193f Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Thu, 18 Feb 2016 18:53:30 +0100 Subject: Restructure, add API, add compression --- example/build.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 example/build.rs (limited to 'example/build.rs') diff --git a/example/build.rs b/example/build.rs new file mode 100644 index 0000000..fb23001 --- /dev/null +++ b/example/build.rs @@ -0,0 +1,10 @@ +extern crate includedir_codegen; + +use includedir_codegen::Compression; + +fn main() { + includedir_codegen::start("FILES") + .dir("data", Compression::Gzip) + .build("data.rs") + .unwrap(); +} -- cgit v1.2.3