Updated Branches: refs/heads/ffos 02668f6e3 -> ad5a3e4f1
CB-4657: added staging_dir function to ff parser Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/ad5a3e4f Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/ad5a3e4f Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/ad5a3e4f Branch: refs/heads/ffos Commit: ad5a3e4f1d19acf2034b3e229c3ceccc017f5143 Parents: 02668f6 Author: Steven Gill <[email protected]> Authored: Fri Aug 23 19:37:42 2013 -0700 Committer: Steven Gill <[email protected]> Committed: Fri Aug 23 19:37:42 2013 -0700 ---------------------------------------------------------------------- src/metadata/firefoxos_parser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/ad5a3e4f/src/metadata/firefoxos_parser.js ---------------------------------------------------------------------- diff --git a/src/metadata/firefoxos_parser.js b/src/metadata/firefoxos_parser.js index e527fb3..68540e2 100644 --- a/src/metadata/firefoxos_parser.js +++ b/src/metadata/firefoxos_parser.js @@ -83,7 +83,9 @@ module.exports.prototype = { shell.cp('-rf', overrides, this.www_dir()); } }, - + staging_dir: function() { + return path.join(this.path, '.staging', 'www'); + }, update_staging: function() { var projectRoot = util.isCordova(this.path); var stagingDir = path.join(this.path, '.staging', 'www');
