mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-12-01 04:34:11 +01:00
fix(repo): sources and tests read files from the final directories
The include_str! and test paths of komorebic (Linux and macOS modules and tests),
komorebi-bar (macOS), komorebi-linux, komorebi-macos, komorebic-core, komorebi-config and
komorebi-bar-core named the old trees (komorebi-for-kde/docs, komorebi-for-mac/docs, the
schema.json files at the roots of the trees, komorebic/fixtures of the macOS tree). They
now read docs/linux, docs/macos, schemas/{windows,linux,macos} and the byte-identical
komorebic/fixtures at the root; the macOS pan tests point at the root fixtures, and
komorebi-linux's config_parity test takes the example config from docs/linux. Comments
that named the old paths were updated with them.
Not touched: markdown docs, justfiles, scripts, tools and nix files that name the old
paths (next revisions of the stack).
Verified: Windows clippy --locked --all-targets -D warnings (default members) passes; on
Linux cargo test -p komorebi -p komorebic -p komorebi-client -p komorebi-linux -p
komorebi-hotkeys -p komorebi-config -p komorebi-bar-core -p komorebic-core -p
komorebi-protocol (one test thread) passes, 96 test binaries ok after config_parity was
fixed; macOS cargo check --target aarch64-apple-darwin (fake CC) passes. Nix not run.
This commit is contained in:
1 parent
f661493793
commit
fa4752a514
17 files changed
+47
-51
No files matched your search
@@ -1812,7 +1812,7 @@ mod tests {
|
||||
let Some(known) = known_keys() else {
|
||||
return;
|
||||
};
|
||||
let example = include_str!("../../docs/komorebi.example.json");
|
||||
let example = include_str!("../../docs/linux/komorebi.example.json");
|
||||
let value: serde_json::Value = serde_json::from_str(example).unwrap();
|
||||
|
||||
let findings = check_keys(&value, &known);
|
||||
|
||||
Reference in new issue
Block a user