abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJules Aguillon2025-02-04 17:17:46 +0100
committerJules Aguillon2025-02-04 17:17:46 +0100
commitaaf0a9a24999769a0bba9ec45968368ff0019012 (patch)
tree9e6d45a68aad341d05d814798682ef14c8772975 /build.gradle
parentae9c2fa626309115d7cface25b656ecee5936fab (diff)
downloadunexpected-keyboard-aaf0a9a24999769a0bba9ec45968368ff0019012.tar.gz
unexpected-keyboard-aaf0a9a24999769a0bba9ec45968368ff0019012.zip
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.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 1 insertions, 5 deletions
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")
}
}