From f14ff90450b0aa8cea0865a6af0bf86824ae9fe5 Mon Sep 17 00:00:00 2001 From: Youngsoo Choi Date: Tue, 12 Sep 2017 21:02:36 +0900 Subject: [PATCH] Fix release path of node_module Change-Id: I7d6e2b2fd6f5ce07bb92e8174d43ecaa860bd94c Signed-off-by: Youngsoo Choi --- wrt/build/tasks/build-task.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wrt/build/tasks/build-task.coffee b/wrt/build/tasks/build-task.coffee index 497917f..42e5930 100644 --- a/wrt/build/tasks/build-task.coffee +++ b/wrt/build/tasks/build-task.coffee @@ -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' -- 2.7.4