cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject [2/2] cordova-paramedic git commit: Add debug mode plugin on windows
Date Thu, 02 Jun 2016 11:15:04 GMT
Add debug mode plugin on windows


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

Branch: refs/heads/ci/windows
Commit: 007c9df7e946f3ce11293e2ce1b8cf177e8e1f2d
Parents: e93c9b4
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Thu Jun 2 12:49:07 2016 +0300
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Thu Jun 2 12:49:07 2016 +0300

----------------------------------------------------------------------
 lib/paramedic.js | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/007c9df7/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 1bbd696..36b979d 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -107,9 +107,13 @@ ParamedicRunner.prototype.installPlugins = function () {
     this.pluginsManager = new PluginsManager(this.tempFolder.name, this.storedCWD);
     this.pluginsManager.installPlugins(this.config.getPlugins());
     this.pluginsManager.installTestsForExistingPlugins();
-    this.pluginsManager.installSinglePlugin('cordova-plugin-test-framework');
-    this.pluginsManager.installSinglePlugin('cordova-plugin-device');
-    this.pluginsManager.installSinglePlugin(path.join(__dirname, '../paramedic-plugin'));
+
+    var additionalPlugins = ['cordova-plugin-test-framework', 'cordova-plugin-device', path.join(__dirname,
'../paramedic-plugin')];
+    if (this.config.getPlatformId() === 'windows') {
+        additionalPlugins.push(path.join(__dirname, '../debug-mode-plugin'));
+    }
+
+    this.pluginsManager.installPlugins(additionalPlugins);
 };
 
 ParamedicRunner.prototype.setUpStartPage = function () {


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


Mime
View raw message