aboutsummaryrefslogtreecommitdiff
path: root/example/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'example/build.rs')
-rw-r--r--example/build.rs10
1 files changed, 10 insertions, 0 deletions
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();
+}