You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2016/03/04 01:36:05 UTC
[27/50] cordova-paramedic git commit: Fixed failing tests.
Fixed failing tests.
Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/bbd060d7
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/bbd060d7
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/bbd060d7
Branch: refs/heads/master
Commit: bbd060d7ed3df02be855216c98038bd473c55733
Parents: 21dc126
Author: Shazron Abdullah <sh...@gmail.com>
Authored: Fri Mar 20 22:05:10 2015 -0700
Committer: Shazron Abdullah <sh...@gmail.com>
Committed: Fri Mar 20 22:05:10 2015 -0700
----------------------------------------------------------------------
main.js | 8 +++++---
package.json | 8 ++++----
2 files changed, 9 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/bbd060d7/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index b197a0f..adc0f18 100755
--- a/main.js
+++ b/main.js
@@ -65,8 +65,10 @@ function createTempProject() {
function installPlugins() {
console.log("cordova-paramedic :: installing " + plugin);
+
+ var pluginPath = path.join(storedCWD, plugin);
- var installExitCode = shell.exec('cordova plugin add ' + plugin,
+ var installExitCode = shell.exec('cordova plugin add ' + pluginPath,
{silent:true}).code;
if(installExitCode != 0) {
console.error('Failed to install plugin : ' + plugin);
@@ -76,8 +78,8 @@ function installPlugins() {
if(!JustBuild) {
// we only install the test stuff if needed
- console.log("cordova-paramedic :: installing " + path.join(plugin,'tests'));
- installExitCode = shell.exec('cordova plugin add ' + path.join(plugin,'tests'),
+ console.log("cordova-paramedic :: installing " + path.join(pluginPath,'tests'));
+ installExitCode = shell.exec('cordova plugin add ' + path.join(pluginPath,'tests'),
{silent:true}).code;
if(installExitCode != 0) {
console.error('Failed to find /tests/ for plugin : ' + plugin);
http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/bbd060d7/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 03ca09d..874d23d 100644
--- a/package.json
+++ b/package.json
@@ -14,10 +14,10 @@
"test":"npm run test-ios",
"test-appveyor":"npm run test-windows",
"test-travis":"npm run test-ios",
- "test-android":"node main.js --platform android --plugin ../spec/testable-plugin/",
- "test-ios": "node main.js --platform ios --plugin ../spec/testable-plugin/",
- "test-windows" : "node main.js --platform windows --plugin ../spec/testable-plugin/",
- "test-wp8": "node main.js --platform wp8 --plugin ./spec/testable-plugin/"
+ "test-android":"node main.js --platform android --plugin spec/testable-plugin/",
+ "test-ios": "node main.js --platform ios --plugin spec/testable-plugin/",
+ "test-windows" : "node main.js --platform windows --plugin spec/testable-plugin/",
+ "test-wp8": "node main.js --platform wp8 --plugin spec/testable-plugin/"
},
"keywords": [
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org