From 940cf0deb8e71121bcebdba2a063c3c4e2602197 Mon Sep 17 00:00:00 2001 From: Jules Aguillon Date: Sat, 2 Mar 2024 19:12:37 +0100 Subject: 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. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build.gradle') 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) -- cgit v1.2.3