add repo.compile(target)

This commit is contained in:
Sebastian Kuzminsky 2025-01-17 21:57:45 -07:00
parent cd1f922953
commit ed5ec61e94
3 changed files with 44 additions and 17 deletions

View file

@ -16,12 +16,7 @@ struct Args {
fn main() -> anyhow::Result<()> {
let args = Args::parse();
let repo = Repo::new(&args.repo);
println!("{:#?}", repo);
let recipe: Option<&Recipe> = repo.get_recipe(&args.target);
println!("{recipe:#?}");
repo.compile(&args.target).unwrap();
Ok(())
}