Fix release path of node_module 93/149593/3
authorYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 12 Sep 2017 12:02:36 +0000 (21:02 +0900)
committermin7.choi <min7.choi@samsung.com>
Fri, 22 Sep 2017 01:43:48 +0000 (10:43 +0900)
Change-Id: I7d6e2b2fd6f5ce07bb92e8174d43ecaa860bd94c
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
wrt/build/tasks/build-task.coffee

index 497917f..42e5930 100644 (file)
@@ -185,11 +185,12 @@ module.exports = (grunt) ->
     cp wrtSrcDir, path.join(appDir, 'src'), filter: /.+\.(cson|coffee)$/
     if grunt.file.exists babelCompiledSrcDir
       cp babelCompiledSrcDir, path.join(appDir, 'src'), filter: /.+\.(cson|coffee)$/
+    console.log('appDir   : ' + appDir)
     console.log('wrtDir   : ' + wrtDir)
     console.log('buildDir : ' + buildDir)
     cp path.join(wrtDir, 'static'), path.join(appDir, 'static')
     cp path.join(wrtDir, 'wrt_support'), path.join(buildDir, 'resources/wrt_support')
-    cp path.join(wrtDir, 'node_modules'), path.join(appDir, 'node_modules')
+    cp path.join(wrtDir, 'node_modules'), path.join(appDir, '..', 'node_modules')
 
     # cp path.join('apm', 'node_modules', 'atom-package-manager'), path.resolve(appDir, '..', 'new-app', 'apm'), filter: filterNodeModule
     # if process.platform isnt 'win32'