blob: e83c21add1c5bb81f4c3b129e0b6d044104c22a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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();
}
|