Add clean build for wrt_support 14/149614/3
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 12 Sep 2017 14:37:35 +0000 (23:37 +0900)
committermin7.choi <min7.choi@samsung.com>
Fri, 22 Sep 2017 01:43:49 +0000 (10:43 +0900)
Change-Id: I6109f4534cf96156120bba69ffc56410a115f6b2
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
wrt/build/Gruntfile.coffee

index 338e75a..c069004 100644 (file)
@@ -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: