You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/10/11 02:38:00 UTC
[3/3] git commit: added temp config path for ffos,
fixed wp8 config_xml function
added temp config path for ffos, fixed wp8 config_xml function
Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/e6e7b63c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/e6e7b63c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/e6e7b63c
Branch: refs/heads/master
Commit: e6e7b63cfa83a652eade90e31fca1df36e0f8ca1
Parents: 6cdf5e4
Author: Steven Gill <st...@gmail.com>
Authored: Thu Oct 10 17:37:54 2013 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Thu Oct 10 17:37:54 2013 -0700
----------------------------------------------------------------------
src/metadata/firefoxos_parser.js | 5 +++++
src/metadata/wp8_parser.js | 1 +
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e6e7b63c/src/metadata/firefoxos_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/firefoxos_parser.js b/src/metadata/firefoxos_parser.js
index d9f8b98..51f6e1a 100644
--- a/src/metadata/firefoxos_parser.js
+++ b/src/metadata/firefoxos_parser.js
@@ -86,6 +86,7 @@ module.exports.prototype = {
shell.cp('-f',
path.join(libPath, 'cordova-lib', 'cordova.js'),
path.join(platformWww, 'cordova.js'));
+ this.config_path = path.join(projectWww, 'config.xml');
},
update_overrides: function() {
@@ -109,6 +110,10 @@ module.exports.prototype = {
this.www_dir());
}
},
+
+ config_xml:function(){
+ return path.join(util.projectWww(util.isCordova(this.path)), 'config.xml')
+ },
// Returns a promise.
update_project: function(cfg) {
http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/e6e7b63c/src/metadata/wp8_parser.js
----------------------------------------------------------------------
diff --git a/src/metadata/wp8_parser.js b/src/metadata/wp8_parser.js
index 4ad2355..ad914b6 100644
--- a/src/metadata/wp8_parser.js
+++ b/src/metadata/wp8_parser.js
@@ -144,6 +144,7 @@ module.exports.prototype = {
return path.join(this.wp8_proj_dir, 'www');
},
config_xml:function() {
+ return this.config_path;
},
// copy files from merges directory to actual www dir
copy_merges:function(merges_sub_path) {