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 2012/05/29 13:50:26 UTC
[3/4] git commit: Added in badaWac
Added in badaWac
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/commit/c83b1af8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/c83b1af8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/c83b1af8
Branch: refs/heads/master
Commit: c83b1af824dd3e3c97d3110b2f1d3f44305b9297
Parents: ace4e85
Author: Tim Kim <ti...@adobe.com>
Authored: Tue May 1 14:29:26 2012 -0700
Committer: Tim Kim <ti...@adobe.com>
Committed: Tue May 1 14:29:26 2012 -0700
----------------------------------------------------------------------
coho | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/c83b1af8/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index d7fd5c3..c63c081 100755
--- a/coho
+++ b/coho
@@ -14,6 +14,7 @@ var util = require('util')
, windows = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7.git'
, webos = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-webos.git'
, bada = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada.git'
+, badaWac = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac.git'
, docs = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-docs.git'
, iosdir = 'incubator-cordova-ios'
, blackberrydir = 'incubator-cordova-blackberry-webworks'
@@ -21,6 +22,7 @@ var util = require('util')
, windowsdir = 'incubator-cordova-wp7'
, webosdir = 'incubator-cordova-webos'
, badadir = 'incubator-cordova-bada'
+, badaWacdir = 'incubator-cordova-bada-wac'
, docsdir = 'incubator-cordova-docs'
, tempRepoDir = 'temp/repositories'
, iosReleaseBinDir = ' ../../../release/bin/ios'
@@ -31,6 +33,7 @@ var util = require('util')
, windowsReleaseBinDir = '../../release/bin/windows'
, webosReleaseBinDir = '../../release/bin/webos'
, badaReleaseBinDir = '../../release/bin/bada'
+, badaWacReleaseBinDir = '../../release/bin/badaWac'
, releaseDocDir = '../../release/doc'
, releaseBinDir = '../release/bin'
, releaseSrcDir = '../release/src'
@@ -147,6 +150,14 @@ if (PLATFORM === "all" || PLATFORM === "bada") {
queueCommand("cd " + tempRepoDir + "/"+badadir+" && cp -r ./* " + badaReleaseBinDir);
}
+//badaWac
+if (PLATFORM === "all" || PLATFORM === "badaWac") {
+ queueCommand("echo 'Building BadaWac'");
+ queueCommand("cd " + tempRepoDir + " && git clone "+badaWac+" && cd "+badaWacdir+" && git fetch --tags && git checkout "+VERSION);
+ queueCommand("cd " + tempRepoDir + " && cp -r " + badaWacdir + " " + releaseSrcDir);
+ queueCommand("cd " + tempRepoDir + "/"+badaWacdir+" && cp -r ./* " + badaWacReleaseBinDir);
+}
+
//docs
if (PLATFORM === "all" || PLATFORM === "docs") {
queueCommand("echo 'Building Documentation'");
@@ -186,6 +197,8 @@ if (oldVer != undefined){
queueCommand("cd " + tempRepoDir + "/"+webosdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
queueCommand("echo 'bada' >> temp/release/changelog")
queueCommand("cd " + tempRepoDir + "/"+badadir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
+ queueCommand("echo 'badaWac' >> temp/release/changelog")
+ queueCommand("cd " + tempRepoDir + "/"+badaWacdir+" && git shortlog --no-merges "+oldVer+".."+VERSION+" >> ../../release/changelog")
}
// zip and sign bin/src/doc folders