diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 6274531..773eb8e 100644 --- a/build.gradle +++ b/build.gradle @@ -129,8 +129,20 @@ task snowpack(type:Exec) { commandLine "yarn", "run", "snowpack", "--optimize" } +task flow(type:Exec) { + def resourceDir = "src/main/resources/META-INF/resources" + + onlyIf { !project.hasProperty('skipWeb') } + + dependsOn snowpack + + workingDir resourceDir + commandLine "yarn", "run", "flow", "--color=always" +} + task compileWeb { dependsOn snowpack + dependsOn flow doLast {} } |