helix-mirror/xtask/src
Tim 82dd963693
Add: validation of bundled themes in build workflow (#11627)
* Add: xtask to check themes for validation warnings

* Update: tidied up runtime paths

* Update: test build workflow

* Update: address clippy lints

* Revert: only trigger workflow on push to master branch

* Add: Theme::from_keys factory method to construct theme from Toml keys

* Update: returning validation failures in Loader.load method

* Update: commented out invalid keys from affected themes

* Update: correct invalid keys so that valid styles still applied

* Update: include default and base16_default themes in check

* Update: renamed validation_failures to load_errors

* Update: introduce load_with_warnings helper function and centralise logging of theme warnings

* Update: use consistent naming throughout
2024-09-28 13:52:09 +02:00
..
docgen.rs removed duplicate in lang-support MD file with vector dedup. (#10563) 2024-08-10 00:36:47 +09:00
helpers.rs Switch from toml::from_slice to toml::from_str (#5659) 2023-01-24 10:07:01 -06:00
main.rs Add: validation of bundled themes in build workflow (#11627) 2024-09-28 13:52:09 +02:00
path.rs Add: validation of bundled themes in build workflow (#11627) 2024-09-28 13:52:09 +02:00
querycheck.rs Bump tree-sitter to 0.22.2 2024-03-18 10:34:53 +09:00
theme_check.rs Add: validation of bundled themes in build workflow (#11627) 2024-09-28 13:52:09 +02:00