cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kam...@apache.org
Subject git commit: CB-6655 Export plugin ID to hooks when adding plugins from Git repos
Date Thu, 08 May 2014 14:35:46 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master d6997c46e -> efecd10ed


CB-6655 Export plugin ID to hooks when adding plugins from Git repos

github: close #1


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

Branch: refs/heads/master
Commit: efecd10ed64ba891251169eed7f770401870305c
Parents: d6997c4
Author: Mike Cunneen <mike@cunneen.biz>
Authored: Thu May 8 17:00:55 2014 +0800
Committer: Mark Koudritsky <kamrik@gmail.com>
Committed: Thu May 8 10:35:31 2014 -0400

----------------------------------------------------------------------
 cordova-lib/src/plugman/util/plugins.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/efecd10e/cordova-lib/src/plugman/util/plugins.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/util/plugins.js b/cordova-lib/src/plugman/util/plugins.js
index 348180d..f140486 100644
--- a/cordova-lib/src/plugman/util/plugins.js
+++ b/cordova-lib/src/plugman/util/plugins.js
@@ -93,6 +93,7 @@ module.exports = {
             shell.cp('-R', path.join(tmp_dir, '*'), plugin_dir);
 
             events.emit('verbose', 'Plugin "' + plugin_id + '" fetched.');
+            process.env.CORDOVA_PLUGIN_ID = plugin_id;
             return plugin_dir;
         });
     }


Mime
View raw message