From f37a10e881273217f057463cbaac0e1fb8f8a4e9 Mon Sep 17 00:00:00 2001 From: Daniel Kaneider Date: Thu, 6 Sep 2018 23:10:33 +0200 Subject: [PATCH] yarn install --- frontend/build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/build.gradle b/frontend/build.gradle index a2804cb..5faa4f7 100644 --- a/frontend/build.gradle +++ b/frontend/build.gradle @@ -13,10 +13,16 @@ wrapper { apply plugin: "com.moowork.node" +task setupUi(type: YarnTask) { + yarnCommand = ['install'] + args = [] +} + task startUi(type: YarnTask) { yarnCommand = ['start'] args = [] } +tasks.startUi.dependsOn setupUi task buildUi(type: YarnTask) { yarnCommand = ['build:prod']