add repo.compile(target)
This commit is contained in:
parent
cd1f922953
commit
ed5ec61e94
3 changed files with 44 additions and 17 deletions
|
|
@ -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(())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue