server/java/renkan-web/build.gradle
changeset 577 105ddd569ff7
parent 574 de0d488a0a1b
child 581 bf1211a84c4c
--- a/server/java/renkan-web/build.gradle	Mon Oct 05 11:08:26 2015 +0200
+++ b/server/java/renkan-web/build.gradle	Mon Oct 05 11:09:00 2015 +0200
@@ -115,6 +115,11 @@
     testCompile group: 'commons-io', name: 'commons-io', version:commons_io_version
 }
 
+// call grunt
+task buildClient(type:Exec) {
+    workingDir "../../../client"
+    commandLine "node_modules/.bin/grunt"
+}
 //apply overlay
 
 war {
@@ -162,3 +167,5 @@
         into "static/data"
     }
 }
+
+war.dependsOn buildClient