cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [28/50] cordova-paramedic git commit: Fixes tests with relative and absolute paths for plugins.
Date Fri, 04 Mar 2016 00:36:06 GMT
Fixes tests with relative and absolute paths for plugins.


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

Branch: refs/heads/master
Commit: f3f58e76defff93b025c39b146c6779efdffbe9b
Parents: bbd060d
Author: Shazron Abdullah <shazron@gmail.com>
Authored: Fri Mar 20 23:54:10 2015 -0700
Committer: Shazron Abdullah <shazron@gmail.com>
Committed: Fri Mar 20 23:54:10 2015 -0700

----------------------------------------------------------------------
 main.js      | 2 +-
 package.json | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/f3f58e76/main.js
----------------------------------------------------------------------
diff --git a/main.js b/main.js
index adc0f18..c47d448 100755
--- a/main.js
+++ b/main.js
@@ -66,7 +66,7 @@ function installPlugins() {
 
     console.log("cordova-paramedic :: installing " + plugin);
     
-    var pluginPath = path.join(storedCWD, plugin);
+    var pluginPath = path.resolve(storedCWD, plugin);
 
     var installExitCode = shell.exec('cordova plugin add ' + pluginPath,
                                      {silent:true}).code;

http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/f3f58e76/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 874d23d..83c6baf 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


Mime
View raw message