Upgrade to Bevy 0.19 and harden editor workflows
CI / Format, lint, test, build (push) Has been cancelled
CI / Format, lint, test, build (push) Has been cancelled
This commit is contained in:
1 parent
3f85d25cc7
commit
b5e561904c
204 files changed
+6972
-29907
No files matched your search
+6
-1
@@ -7,6 +7,7 @@ publish = false
|
||||
[[bin]]
|
||||
name = "validate-levels"
|
||||
path = "src/validate_levels.rs"
|
||||
required-features = ["validate-levels"]
|
||||
|
||||
[[bin]]
|
||||
name = "clean-target"
|
||||
@@ -14,4 +15,8 @@ path = "src/clean_target.rs"
|
||||
|
||||
[dependencies]
|
||||
walkdir = "2.5"
|
||||
scene = { path = "../crates/scene" }
|
||||
scene = { path = "../crates/scene", optional = true }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
validate-levels = ["dep:scene"]
|
||||
@@ -337,7 +337,7 @@ fn print_kind_summary(candidates: &[Candidate]) {
|
||||
rows.push((candidate.kind, 1, candidate.bytes));
|
||||
}
|
||||
}
|
||||
rows.sort_by(|a, b| b.2.cmp(&a.2));
|
||||
rows.sort_by_key(|row| std::cmp::Reverse(row.2));
|
||||
for (kind, count, bytes) in rows {
|
||||
println!(
|
||||
"summary: {:<12} {:>5} item(s), {}",
|
||||
|
||||
Reference in new issue
Block a user