abouttreesummaryrefslogcommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJules Aguillon2024-03-02 19:12:37 +0100
committerJules Aguillon2024-03-02 19:12:37 +0100
commit940cf0deb8e71121bcebdba2a063c3c4e2602197 (patch)
treeb5ab58491ed19e96837dd841e16ae4c7b2830813 /build.gradle
parentc2d5b14261be61323277c24bdb90828e7c3a997a (diff)
downloadunexpected-keyboard-940cf0deb8e71121bcebdba2a063c3c4e2602197.tar.gz
unexpected-keyboard-940cf0deb8e71121bcebdba2a063c3c4e2602197.zip
compose: Parse json files and fix edge cases
There's no json file yet, this was part of an experiment. Add a missing escape rule and detect colliding sequences.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index f97732d..aa5a50c 100644
--- a/build.gradle
+++ b/build.gradle
@@ -143,7 +143,7 @@ tasks.register('compileComposeSequences') {
println "\nGenerating ${out}"
exec {
def sequences = new File(projectDir, "srcs/compose").listFiles().findAll {
- !it.name.endsWith(".py")
+ it.name.endsWith(".pre") || it.name.endsWith(".json")
}
workingDir = projectDir
commandLine("python", "srcs/compose/compile.py", *sequences)