cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [22/27] webos commit: Updated dependency locations
Date Thu, 18 Jun 2015 06:41:00 GMT
Updated dependency locations


Project: http://git-wip-us.apache.org/repos/asf/cordova-webos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-webos/commit/1e24c860
Tree: http://git-wip-us.apache.org/repos/asf/cordova-webos/tree/1e24c860
Diff: http://git-wip-us.apache.org/repos/asf/cordova-webos/diff/1e24c860

Branch: refs/heads/master
Commit: 1e24c860099cdbc4ac7f928114e20d6e603a1aef
Parents: 8a4fc7b
Author: Jason Robitaille <jason.robitaille@lge.com>
Authored: Fri Jun 5 14:53:54 2015 -0700
Committer: Jason Robitaille <jason.robitaille@lge.com>
Committed: Fri Jun 5 14:53:54 2015 -0700

----------------------------------------------------------------------
 bin/lib/create.js | 2 +-
 bin/lib/update.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-webos/blob/1e24c860/bin/lib/create.js
----------------------------------------------------------------------
diff --git a/bin/lib/create.js b/bin/lib/create.js
index c547883..ecba468 100755
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -67,7 +67,7 @@ exports.createProject = function(project_path,project_id,project_name){
 
             //copy cordova folder
             shjs.cp('-r', path.join(ROOT, 'bin', 'templates', 'project', 'cordova'), project_path);
-            shjs.cp('-r', path.join(ROOT, 'bin', 'node_modules'), path.join(project_path,'cordova'));
+            shjs.cp('-r', path.join(ROOT, 'node_modules'), path.join(project_path,'cordova'));
 
             // copy check_reqs
             shjs.cp(path.join(ROOT, 'bin', 'check_reqs.bat'), path.join(project_path, 'cordova',
'check_reqs.bat'));

http://git-wip-us.apache.org/repos/asf/cordova-webos/blob/1e24c860/bin/lib/update.js
----------------------------------------------------------------------
diff --git a/bin/lib/update.js b/bin/lib/update.js
index 0e5a098..7e91d07 100755
--- a/bin/lib/update.js
+++ b/bin/lib/update.js
@@ -42,7 +42,7 @@ function copyScripts(projectPath) {
     shell.rm('-rf', destScriptsDir);
     // Copy in the new ones.
     shell.cp('-r', srcScriptsDir, projectPath);
-    shell.cp('-r', path.join(ROOT, 'bin', 'node_modules'), destScriptsDir);
+    shell.cp('-r', path.join(ROOT, 'node_modules'), destScriptsDir);
     shell.cp(path.join(ROOT, 'bin', 'check_reqs.bat'), path.join(destScriptsDir, 'check_reqs.bat'));
     shell.cp(path.join(ROOT, 'bin', 'check_reqs'), path.join(destScriptsDir, 'check_reqs'));
     shell.cp(path.join(ROOT, 'bin', 'lib', 'check_reqs.js'), path.join(destScriptsDir, 'lib',
'check_reqs.js'));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message