mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-18 14:48:34 +01:00
docs(nixgen): schemars-nixgen has a README, and the docs say how to run it
This commit is contained in:
1 parent
a342dc39f5
commit
b16fedebe7
2 files changed
+19
-2
No files matched your search
@@ -75,8 +75,8 @@ on machines built with the module too.
|
||||
|
||||
Three files are generated from the Rust types and committed: `schemas/linux/schema.json` and
|
||||
`schemas/linux/schema.asc.json` (`just jsonschema`), and `nix/linux/komorebi-options.nix`, which types the
|
||||
module's `config` (`just nixgen`, which needs `schemars-nixgen`, `cargo install
|
||||
schemars-nixgen`). A change to what `komorebi.json` or an `applications.json` can
|
||||
module's `config` (`just nixgen-linux`, which runs `schemars-nixgen`, built from
|
||||
[`crates/schemars-nixgen`](../../crates/schemars-nixgen)). A change to what `komorebi.json` or an `applications.json` can
|
||||
say regenerates them in the same commit, and the check `schema-fresh` fails when
|
||||
it does not. The first line of the options file is the hash of the schema it was
|
||||
made from, which is how the check tells without running `schemars-nixgen`.
|
||||
|
||||
Reference in new issue
Block a user