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/08/29 02:35:19 UTC
[2/2] git commit: updated coho
updated coho
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/76e61f9f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/76e61f9f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/76e61f9f
Branch: refs/heads/master
Commit: 76e61f9ffc67483b2018f09647e2b4b42191b6d5
Parents: b4123d6
Author: steven gill <st...@apache.org>
Authored: Wed Jun 27 10:11:57 2012 -0700
Committer: steven gill <st...@apache.org>
Committed: Wed Jun 27 10:11:57 2012 -0700
----------------------------------------------------------------------
coho | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/76e61f9f/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 7fed088..d11f94e 100755
--- a/coho
+++ b/coho
@@ -26,10 +26,9 @@ VERSION = process.argv[3]
var util = require('util')
, exec = require('child_process').exec
, fs = require('fs')
-, sys = require('sys')
, ios = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git'
, blackberry = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks.git'
-, android = 'https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git'
+, android = 'https://github.com/imhotep/incubator-cordova-android.git'
, 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'
@@ -122,7 +121,7 @@ if (PLATFORM === "all" || PLATFORM === "ios") {
queueCommand("cd " + tempRepoDir + "/"+iosdir+"/dist && cp -r Cordova-"+VERSION+".dmg " + iosReleaseBinDir + " && cp -r Cordova-"+VERSION+".dmg.SHA1 " + iosReleaseBinDir);
queueCommand("cd " + tempRepoDir + "/"+iosdir+" && cp NOTICE ../../release/bin/ios");
queueCommand("cd " + tempRepoDir + "/"+iosdir+" && cp LICENSE ../../release/bin/ios");
- queueCommand("cd " + tempRepoDir + "/"+iosdir+" && cp -r /bin ../../release/bin/ios/");
+ queueCommand("cd " + tempRepoDir + "/"+iosdir+" && cp -r bin ../../release/bin/ios/");
}
//blackberry
@@ -135,14 +134,15 @@ if (PLATFORM === "all" || PLATFORM === "blackberry") {
queueCommand("cd " + tempRepoDir + "/"+blackberrydir+"/dist && cp -r ./* " + blackberryReleaseBinDir);
queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp NOTICE ../../release/bin/blackberry");
queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp LICENSE ../../release/bin/blackberry");
- queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp -r /bin ../../release/bin/blackberry/");
+ queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && cp -r bin ../../release/bin/blackberry/");
}
//android
if (PLATFORM === "all" || PLATFORM === "android") {
queueCommand("cd temp/release/bin && mkdir android");
queueCommand("echo 'Building Android'");
- queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags && git checkout "+VERSION);
+ //queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags && git checkout "+VERSION);
+ queueCommand("cd " + tempRepoDir + " && git clone "+android+" && cd "+androiddir+" && git fetch --tags");
queueCommand("cd " + tempRepoDir + " && cp -r " + androiddir + " " + releaseSrcDir);
queueCommand("cd " + tempRepoDir + "/"+androiddir+" && cp LICENSE " + androidReleaseLicense + " && cp VERSION " + androidReleaseVersion + " && cp README.md " + androidReleaseBinDir + " && cp NOTICE " + androidReleaseBinDir);
queueCommand("cd " + tempRepoDir + "/"+androiddir+" && ant clean");
@@ -151,7 +151,7 @@ if (PLATFORM === "all" || PLATFORM === "android") {
queueCommand("cd " + tempRepoDir + "/"+androiddir+"/example && cp libs/cordova-"+VERSION+".jar ../" + androidReleaseBinDir);
queueCommand("cd " + tempRepoDir + "/"+androiddir+"/example && cp assets/www/cordova-"+VERSION+".js ../" + androidReleaseBinDir);
queueCommand("cd " + tempRepoDir + "/"+androiddir+"/example && cp -r res/xml ../" + androidReleaseBinDir);
- queueCommand("cd " + tempRepoDir + "/"+androiddir+" && cp -r /bin ../../release/bin/android/");
+ queueCommand("cd " + tempRepoDir + "/"+androiddir+" && cp -r bin ../../release/bin/android/");
}
//windows phone