Ensure all new parser files are checked for changes (#3800)

This commit is contained in:
Hubert Plociniczak 2022-10-15 09:06:20 +02:00 committed by GitHub
parent 2740406f93
commit 811d82c787
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -688,6 +688,8 @@ val generateParserJavaSources = TaskKey[Seq[File]]("generateParserJavaSources",
} }
`syntax-rust-definition` / generateParserJavaSources / fileInputs += `syntax-rust-definition` / generateParserJavaSources / fileInputs +=
(`syntax-rust-definition` / baseDirectory).value.toGlob / "generate-java" / "src" / ** / "*.rs" (`syntax-rust-definition` / baseDirectory).value.toGlob / "generate-java" / "src" / ** / "*.rs"
`syntax-rust-definition` / generateParserJavaSources / fileInputs +=
(`syntax-rust-definition` / baseDirectory).value.toGlob / "src" / ** / "*.rs"
def generateRustParser(base: File, changes: sbt.nio.FileChanges): Seq[File] = { def generateRustParser(base: File, changes: sbt.nio.FileChanges): Seq[File] = {
import scala.jdk.CollectionConverters._ import scala.jdk.CollectionConverters._