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/04/10 21:15:21 UTC

[50/50] 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/3e9b2c60
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/tree/3e9b2c60
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/diff/3e9b2c60

Branch: refs/heads/master
Commit: 3e9b2c608c89df070f0e8e460252391c422bf289
Parents: 210c24c
Author: stevengill <st...@nitobi.com>
Authored: Tue Jan 17 17:45:05 2012 -0800
Committer: stevengill <st...@nitobi.com>
Committed: Tue Jan 17 17:45:05 2012 -0800

----------------------------------------------------------------------
 coho                           |    4 ++--
 incubator-cordova-ios          |    1 -
 temp/ios/incubator-cordova-ios |    1 -
 test/tests.coffee              |    4 ++--
 4 files changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/3e9b2c60/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index a85f5d5..3710fe1 100755
--- a/coho
+++ b/coho
@@ -17,13 +17,13 @@ child = exec("rm -rf temp && mkdir temp", function (error, stdout, stderr) {
 	    if (error !== null) {
 	      console.log('exec error: ' + error);
 	    }
-		exec("cd temp/ios && git clone https://github.com/apache/incubator-cordova-ios.git && cd incubator-cordova-ios && git fetch --tags && git checkout "+VERSION, function (error, stdout, stderr) {
+		exec("cd temp/ios && git clone git@github.com:cordova/cordova-ios.git && cd cordova-ios && git fetch --tags && git checkout "+VERSION, function (error, stdout, stderr) {
 		    console.log('stdout: ' + stdout);
 			console.log('stderr: ' + stderr);
 		    if (error !== null) {
 		      console.log('exec error: ' + error);
 		    }
-			exec("git archive master -o foo.zip", function (error, stdout, stderr) {
+			exec("cd temp/ios/cordova-ios git archive master -o foo.zip", function (error, stdout, stderr) {
 			    console.log('stdout: ' + stdout);
 				console.log('stderr: ' + stderr);
 			    if (error !== null) {

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/3e9b2c60/incubator-cordova-ios
----------------------------------------------------------------------
diff --git a/incubator-cordova-ios b/incubator-cordova-ios
deleted file mode 160000
index 3ae160d..0000000
--- a/incubator-cordova-ios
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 3ae160d41d2305e08c2144478ea50a24c0f9af6d

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/3e9b2c60/temp/ios/incubator-cordova-ios
----------------------------------------------------------------------
diff --git a/temp/ios/incubator-cordova-ios b/temp/ios/incubator-cordova-ios
deleted file mode 160000
index 3ae160d..0000000
--- a/temp/ios/incubator-cordova-ios
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 3ae160d41d2305e08c2144478ea50a24c0f9af6d

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/3e9b2c60/test/tests.coffee
----------------------------------------------------------------------
diff --git a/test/tests.coffee b/test/tests.coffee
index e61b49d..c11ab40 100644
--- a/test/tests.coffee
+++ b/test/tests.coffee
@@ -31,7 +31,7 @@ exports['creating ios subdirectory'] = (test)->
 	
 exports['confirm ios pull worked'] = (test)->
 	test.expect 1
-	test.ok require('path').existsSync("./temp/ios/incubator-cordova-ios/PhoneGapLib/VERSION")
+	test.ok require('path').existsSync("./temp/ios/cordova-ios/PhoneGapLib/VERSION")
 	test.done()
 
 exports['check version number'] = (test)->
@@ -47,7 +47,7 @@ exports['check version number'] = (test)->
 			test.ok true, "VERSION file matches release version"
 			test.done()
 		
-	fs.readFile('./temp/ios/incubator-cordova-ios/PhoneGapLib/VERSION', thetest)
+	fs.readFile('./temp/ios/cordova-ios/PhoneGapLib/VERSION', thetest)
 
 exports['zip exists'] = (test)->
 	test.expect 1