You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2013/05/10 01:00:16 UTC

[14/43] git commit: Chaning plugman.js to main.js as run target

Chaning plugman.js to main.js as run target


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

Branch: refs/heads/master
Commit: b6be347260bb18fa0046c291802ef77dbc6aa8b1
Parents: 548ae52
Author: Michal Mocny <mm...@gmail.com>
Authored: Mon Apr 22 14:01:18 2013 -0400
Committer: Michal Mocny <mm...@gmail.com>
Committed: Mon Apr 22 14:01:18 2013 -0400

----------------------------------------------------------------------
 src/platform.js |    2 +-
 src/plugin.js   |    2 +-
 src/prepare.js  |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/b6be3472/src/platform.js
----------------------------------------------------------------------
diff --git a/src/platform.js b/src/platform.js
index 1862f72..587e687 100644
--- a/src/platform.js
+++ b/src/platform.js
@@ -107,7 +107,7 @@ module.exports = function platform(command, targets, callback) {
                                 var pluginsDir = path.join(projectRoot, 'plugins');
                                 var plugins = fs.readdirSync(pluginsDir);
                                 plugins && plugins.forEach(function(plugin) {
-                                    var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'plugman.js');
+                                    var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'main.js');
                                     var cmd = util.format('"%s" --platform "%s" --project "%s" --plugin "%s" --plugins_dir "%s"', cli, target, output, path.basename(plugin), pluginsDir);
                                     var result = shell.exec(cmd, { silent: true });
                                     if (result.code > 0) {

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/b6be3472/src/plugin.js
----------------------------------------------------------------------
diff --git a/src/plugin.js b/src/plugin.js
index c2fdc02..55ccf48 100644
--- a/src/plugin.js
+++ b/src/plugin.js
@@ -73,7 +73,7 @@ module.exports = function plugin(command, targets, callback) {
         case 'add':
             targets.forEach(function(target, index) {
                 hooks.fire('before_plugin_add');
-                var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'plugman.js');
+                var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'main.js');
                 var pluginsDir = path.join(projectRoot, 'plugins');
 
                 if (target[target.length - 1] == path.sep) {

http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/b6be3472/src/prepare.js
----------------------------------------------------------------------
diff --git a/src/prepare.js b/src/prepare.js
index 7b30c29..0b6d060 100644
--- a/src/prepare.js
+++ b/src/prepare.js
@@ -69,7 +69,7 @@ module.exports = function prepare(platforms, callback) {
         if (callback) callback();
     });
 
-    var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'plugman.js');
+    var cli = path.join(__dirname, '..', 'node_modules', 'plugman', 'main.js');
 
     // Iterate over each added platform
     platforms.forEach(function(platform) {