cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an-s...@apache.org
Subject spec commit: CB-8216 Add plugins tests by absolute name
Date Tue, 13 Jan 2015 15:31:43 GMT
Repository: cordova-mobile-spec
Updated Branches:
  refs/heads/master 2af6fbfdb -> 92872dccd


CB-8216 Add plugins tests by absolute name

This fixes medic's createmobilespec creation due to CB-8216 Resolve plugin paths relative
to original CWD.
root cause: git commit https://github.com/apache/cordova-lib/commit/402d04bf353095ff2deed353abf41a3515341e38


Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/92872dcc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/92872dcc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/92872dcc

Branch: refs/heads/master
Commit: 92872dccd535adee432d6c38a787044edcadf97c
Parents: 2af6fbf
Author: Vladimir Kotikov <v-vlkoti@microsoft.com>
Authored: Tue Jan 13 18:30:46 2015 +0300
Committer: Vladimir Kotikov <v-vlkoti@microsoft.com>
Committed: Tue Jan 13 18:30:46 2015 +0300

----------------------------------------------------------------------
 createmobilespec/createmobilespec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/92872dcc/createmobilespec/createmobilespec.js
----------------------------------------------------------------------
diff --git a/createmobilespec/createmobilespec.js b/createmobilespec/createmobilespec.js
index 0a910c3..9eb7a48 100755
--- a/createmobilespec/createmobilespec.js
+++ b/createmobilespec/createmobilespec.js
@@ -439,7 +439,7 @@ function installPlugins() {
         shelljs.ls('plugins').forEach(function(plugin) {
           var potential_tests_plugin_xml = path.join('plugins', plugin, 'tests', 'plugin.xml');
           if (fs.existsSync(potential_tests_plugin_xml)) {
-            pluginTestPaths.push(path.dirname(potential_tests_plugin_xml));
+            pluginTestPaths.push(path.resolve(path.dirname(potential_tests_plugin_xml)));
           }
         });
         shelljs.exec(cli + " plugin add " + pluginTestPaths.join(' ') + linkFlag);


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


Mime
View raw message