Skip to content

Commit

Permalink
build: run lexer generation before parser generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanharris committed Sep 10, 2024
1 parent a67c7f9 commit 99a81de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ tasks {
pathToParser.set("dev/openfga/intellijplugin/parsing/OpenFGAParser.java")
pathToPsiRoot.set("dev/openfga/intellijplugin/psi")
purgeOldFiles.set(true)
dependsOn(generateLexer) // The lexer must be generated before parser otherwise we get build errors
}

test {
Expand Down

0 comments on commit 99a81de

Please sign in to comment.