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 2014/09/30 23:37:01 UTC
[1/2] git commit: updated create-archive to work with wp8
Repository: cordova-coho
Updated Branches:
refs/heads/master eda5b6d58 -> 2dd0e0a1d
updated create-archive to work with wp8
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/1fe38fdd
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/1fe38fdd
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/1fe38fdd
Branch: refs/heads/master
Commit: 1fe38fdd9afd2567295ba2b1144159fd2a8dda16
Parents: eda5b6d
Author: Steven Gill <st...@gmail.com>
Authored: Tue Sep 30 14:35:53 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Sep 30 14:35:53 2014 -0700
----------------------------------------------------------------------
src/create-verify-archive.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/1fe38fdd/src/create-verify-archive.js
----------------------------------------------------------------------
diff --git a/src/create-verify-archive.js b/src/create-verify-archive.js
index e0379b6..3aa5923 100644
--- a/src/create-verify-archive.js
+++ b/src/create-verify-archive.js
@@ -77,10 +77,13 @@ exports.createCommand = function*(argv) {
}
var cmd = 'npm pack';
if (repo.id==='lib') cmd = 'npm pack cordova-'+repo.id;
- if (repo.id==='windows' || repo.id==='wp8') cmd = 'npm pack '+repo.id;
+ if (repo.id==='windows') cmd = 'npm pack '+repo.id;
+
+ if (repo.id==='windowsphone') cmd = 'npm pack wp8';
var tgzname = yield executil.execHelper(executil.ARGS(cmd), true);
var outPath = path.join(absOutDir, tgzname);
+ console.log(outPath);
if (fs.existsSync(outPath)) {
// remove what is already there, or else "npm pack" will fail
fs.unlinkSync(outPath);
[2/2] git commit: updated to handle windows & wp8's new directory
structure
Posted by st...@apache.org.
updated to handle windows & wp8's new directory structure
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/2dd0e0a1
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/2dd0e0a1
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/2dd0e0a1
Branch: refs/heads/master
Commit: 2dd0e0a1d1dc25edd26d22fac77eb8f7e76a6392
Parents: 1fe38fd
Author: Steven Gill <st...@gmail.com>
Authored: Tue Sep 30 14:36:55 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Sep 30 14:36:55 2014 -0700
----------------------------------------------------------------------
src/create-verify-archive.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/2dd0e0a1/src/create-verify-archive.js
----------------------------------------------------------------------
diff --git a/src/create-verify-archive.js b/src/create-verify-archive.js
index 3aa5923..1020263 100644
--- a/src/create-verify-archive.js
+++ b/src/create-verify-archive.js
@@ -77,9 +77,11 @@ exports.createCommand = function*(argv) {
}
var cmd = 'npm pack';
if (repo.id==='lib') cmd = 'npm pack cordova-'+repo.id;
+ /* Not needed anymore due to package.json moving to root
if (repo.id==='windows') cmd = 'npm pack '+repo.id;
if (repo.id==='windowsphone') cmd = 'npm pack wp8';
+ */
var tgzname = yield executil.execHelper(executil.ARGS(cmd), true);
var outPath = path.join(absOutDir, tgzname);