From aaf0a9a24999769a0bba9ec45968368ff0019012 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Tue, 4 Feb 2025 17:17:46 +0100 Subject: Improve the check_layout CI and output Change the format of check_layout.output to avoid adding any logs for layouts that do not trigger any warning. Fix the check_layout CI, which was broken since check_layout.py was changed to take arguments. --- build.gradle | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 4bc1596..1f9b3a1 100644 --- a/build.gradle +++ b/build.gradle @@ -134,12 +134,8 @@ tasks.register('genLayoutsList') { tasks.register('checkKeyboardLayouts') { println "\nChecking layouts" exec { - def layouts = new File(projectDir, "srcs/layouts").listFiles().findAll { - it.name.endsWith(".xml") - } workingDir = projectDir - commandLine("python", "check_layout.py", *layouts) - standardOutput = new FileOutputStream("${projectDir}/check_layout.output") + commandLine("python", "check_layout.py") } } -- cgit v1.2.3