const INPUT_DIR: &str = "./res-src"; const OUT_DIR: &str = "./res";
fn main() {
let stove = jampack::Stove::new()
.unwrap()
.with_recipe(passthrough_recipe());
stove.cook(INPUT_DIR, OUT_DIR);
}
fn passthrough_recipe() -> jampack::Recipe {
fn bake(data: Vec<u8>) -> jampack::Jar {
jampack::Jar::new(
128, 0, data, )
}
jampack::Recipe::new(
bake, vec!["bin"], )
}