Skip to content

Commit 79a958e

Browse files
committed
fix(nix): point the schema formatter at the moved generator
The schema-gen treefmt formatter still listed config_schema.rs under ccusage-core and the generator under the ccusage package, so after both moved to ccusage-config it never ran on the files whose changes should regenerate the schema. The config-schema flake check would still have caught the drift, but only after a failing build instead of a formatting pass.
1 parent 9fc9ac3 commit 79a958e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎nix/treefmt.nix‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ in
184184
command = lib.getExe schemaGen;
185185
includes = [
186186
"apps/ccusage/config-schema.json"
187-
"rust/crates/ccusage-core/src/config_schema.rs"
188-
"rust/crates/ccusage/src/bin/generate_config_schema.rs"
187+
"rust/crates/ccusage-config/src/config_schema.rs"
188+
"rust/crates/ccusage-config/src/bin/generate_config_schema.rs"
189189
];
190190
priority = 10;
191191
};

0 commit comments

Comments
 (0)