Skip to content

Commit

Permalink
fix: adjust build.gradle.kts to grammar kit changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cvette committed Apr 5, 2024
1 parent d9bdecd commit cd400a7
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -74,36 +74,33 @@ grammarKit {

val generateEelLexer = task<GenerateLexerTask>("GenerateEelLexer") {
sourceFile = file("src/main/grammars/EelLexer.flex")
targetDir = "src/gen/de/vette/idea/neos/lang/eel/parser"
targetClass = "EelLexer"
targetOutputDir = file("src/gen/de/vette/idea/neos/lang/eel/parser")
purgeOldFiles = true
}

val generateAfxLexer = task<GenerateLexerTask>("GenerateAfxLexer") {
sourceFile = file("src/main/grammars/AfxLexer.flex")
targetDir = "src/gen/de/vette/idea/neos/lang/afx/parser"
targetClass = "AfxLexer"
targetOutputDir = file("src/gen/de/vette/idea/neos/lang/afx/parser")
purgeOldFiles = true
}

val generateFusionLexer = task<GenerateLexerTask>("GenerateFusionLexer") {
sourceFile = file("src/main/grammars/FusionLexer.flex")
targetDir = "src/gen/de/vette/idea/neos/lang/fusion/parser"
targetClass = "FusionLexer"
targetOutputDir = file("src/gen/de/vette/idea/neos/lang/fusion/parser")
purgeOldFiles = true
}

val generateEelParser = task<GenerateParserTask>("GenerateEelParser") {
sourceFile = file("src/main/grammars/EelParser.bnf")
targetRoot = "src/gen"
targetRootOutputDir = file("src/gen")
pathToParser = "/de/vette/idea/neos/lang/eel/parser/EelParser.java"
pathToPsiRoot = "/de/vette/idea/neos/lang/core/psi"
purgeOldFiles = true
}

val generateFusionParser = task<GenerateParserTask>("GenerateFusionParser") {
sourceFile = file("src/main/grammars/FusionParser.bnf")
targetRoot = "src/gen"
targetRootOutputDir = file("src/gen")
pathToParser = "/de/vette/idea/neos/lang/fusion/parser/FusionParser.java"
pathToPsiRoot = "/de/vette/idea/neos/lang/core/psi"
purgeOldFiles = true
Expand Down

0 comments on commit cd400a7

Please sign in to comment.