Implement the reviewed UI icon system and durable review workflow (#853)
Thanks @Nathan-Dane.
This commit is contained in:
1 parent
c599238653
commit
64966bab88
374 files changed
+8187
-2221
No files matched your search
@@ -0,0 +1,16 @@
|
||||
//! Original UI icon standards and review-tool regression checks.
|
||||
use std::path::Path;
|
||||
use std::process::Command;
|
||||
|
||||
pub fn run(root: &Path) -> Result<(), String> {
|
||||
for args in [
|
||||
vec!["-B", "assets/icons/ui/design/tools/lint_icons.py"],
|
||||
vec!["-B", "assets/icons/ui/design/tools/icon_status.py", "--check"],
|
||||
vec!["-B", "-m", "unittest", "discover", "-s", "tests/tools", "-p", "test_icon*.py"],
|
||||
] {
|
||||
let mut command = Command::new("python3");
|
||||
command.args(args).current_dir(root);
|
||||
super::run(command, "UI icon standards (Python 3.11+)")?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
Reference in new issue
Block a user