From c45616338cb9893c5a027e67f366c5fc80dece96 Mon Sep 17 00:00:00 2001 From: Youngsoo Choi Date: Tue, 12 Sep 2017 23:37:35 +0900 Subject: [PATCH] Add clean build for wrt_support Change-Id: I6109f4534cf96156120bba69ffc56410a115f6b2 Signed-off-by: Youngsoo Choi --- wrt/build/Gruntfile.coffee | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wrt/build/Gruntfile.coffee b/wrt/build/Gruntfile.coffee index 338e75a..c069004 100644 --- a/wrt/build/Gruntfile.coffee +++ b/wrt/build/Gruntfile.coffee @@ -45,7 +45,8 @@ module.exports = (grunt) -> runtimeName = 'wrt' wrtDir = path.join(path.resolve(), runtimeName) babelCompiledDir = path.join(path.resolve(), 'babel_compiled') - asarPacagePath = path.join(path.resolve(), 'out','D','resources','app.asar') + asarPackagePath = path.join(path.resolve(), 'out','D','resources','app.asar') + wrtSupportPath = path.join(path.resolve(), 'out','D','resources','wrt_support') appName = if process.platform is 'darwin' then 'was.app' else 'was' buildDir = path.join( path.resolve(), 'out', 'D' ) buildDir = path.resolve(buildDir) @@ -106,7 +107,8 @@ module.exports = (grunt) -> was: {appDir, appName, symbolsDir, buildDir, contentsDir, installDir, shellAppDir, wrtDir, babelCompiledDir} clean: babel: [babelCompiledDir] - asar: [asarPacagePath] + asar: [asarPackagePath] + wrtSupport: [wrtSupportPath] coffee: coffeeConfig babel: babelConfig coffeelint: -- 2.7.4