mirror of
https://github.com/Zenithsiz/zbuild.git
synced 2026-02-05 07:05:53 +00:00
Added a todo.
Fixed ast being printed with `#?`
This commit is contained in:
parent
24572190ad
commit
b07fbe063b
@ -112,7 +112,7 @@ async fn main() -> Result<(), anyhow::Error> {
|
||||
.await
|
||||
.map_err(AppError::read_file(&zbuild_path))?;
|
||||
let ast = serde_yaml::from_str::<Ast>(&zbuild_file).map_err(AppError::parse_yaml(&zbuild_path))?;
|
||||
tracing::trace!(target: "zbuild_ast", "Parsed ast: {ast:#?}");
|
||||
tracing::trace!(target: "zbuild_ast", ?ast, "Parsed ast");
|
||||
|
||||
// Build the rules
|
||||
let rules = Rules::new(ast);
|
||||
|
||||
@ -2,6 +2,8 @@
|
||||
|
||||
// TODO: Should we react when rule outputs are changed, or only on leaf-dependencies
|
||||
|
||||
// TODO: Output dependencies aren't considered here, if they didn't exist when the file was first built.
|
||||
|
||||
// Imports
|
||||
use {
|
||||
crate::{build, rules::Target, AppError, Builder, Rules},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user