incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [1/2] git commit: copied files around
Date Tue, 26 Jun 2012 00:39:46 GMT
Updated Branches:
  refs/heads/master 959105bf8 -> b4123d69f


copied files around


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

Branch: refs/heads/master
Commit: b4123d69f8afdfa7b0484f33e62fe8c66cb4b5c0
Parents: d034230
Author: steven gill <steven@apache.org>
Authored: Mon Jun 25 17:39:33 2012 -0700
Committer: steven gill <steven@apache.org>
Committed: Mon Jun 25 17:39:33 2012 -0700

----------------------------------------------------------------------
 coho              |   12 ++++++++++++
 test/tests.coffee |   17 +++++++----------
 2 files changed, 19 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/b4123d69/coho
----------------------------------------------------------------------
diff --git a/coho b/coho
index 610d759..7fed088 100755
--- a/coho
+++ b/coho
@@ -121,6 +121,8 @@ if (PLATFORM === "all" || PLATFORM === "ios") {
     queueCommand("cd " + tempRepoDir + "/"+iosdir+" && make");
     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/");
 }
 
 //blackberry
@@ -132,6 +134,8 @@ if (PLATFORM === "all" || PLATFORM === "blackberry") {
     queueCommand("cd " + tempRepoDir + "/"+blackberrydir+" && ant dist");
     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/");
 }
 
 //android
@@ -147,6 +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/");

 }
 
 //windows phone
@@ -190,6 +195,8 @@ if (PLATFORM === "all" || PLATFORM === "docs") {
     queueCommand("echo 'Building Documentation'");
     queueCommand("cd " + tempRepoDir + " && git clone "+docs+" && cd "+docsdir+"
&& git fetch --tags && git checkout "+VERSION);
     queueCommand("cd " + tempRepoDir + "/"+docsdir+" && ./bin/generate &&
cp -r public/en/"+VERSION+" " + releaseDocDir);
+	queueCommand("cp bin/NOTICE temp/release/doc/cordova-"+VERSION+"-incubating-doc/NOTICE");
+	queueCommand("cp bin/LICENSE temp/release/doc/cordova-"+VERSION+"-incubating-doc/LICENSE");
 }
 
 //symbian
@@ -209,6 +216,10 @@ queueCommand("cp bin/README.md temp/release/src/cordova-"+VERSION+"/README.MD")
 queueCommand("cp bin/NOTICE temp/release/src/cordova-"+VERSION+"/NOTICE");
 queueCommand("cp bin/LICENSE temp/release/src/cordova-"+VERSION+"/LICENSE");
 queueCommand("cp bin/DISCLAIMER temp/release/src/cordova-"+VERSION+"/DISCLAIMER");
+queueCommand("cp bin/README.md temp/release/bin/cordova-"+VERSION+"-incubating-bin/README.MD")
+queueCommand("cp bin/NOTICE temp/release/src/cordova-"+VERSION+"-incubating-bin/NOTICE");
+queueCommand("cp bin/LICENSE temp/release/src/cordova-"+VERSION+"-incubating-bin/LICENSE");
+queueCommand("cp bin/DISCLAIMER temp/release/src/cordova-"+VERSION+"-incubating-bin/DISCLAIMER");
 
 if (oldVer != undefined){
 	queueCommand("cd temp/release/ && touch changelog && echo 'ChangeLog' >
changelog")
@@ -248,6 +259,7 @@ var cordovaSrcSha = cordovaSrcZip+".sha";
 queueCommand("echo 'Cleaning up .git files from repositories before zipping em'");
 queueCommand("cd temp/release/src/cordova-"+VERSION+" && find `pwd` -name .git -type
d -print0 | xargs -0 rm -r");
 queueCommand("cd temp/release/src/cordova-"+VERSION+" && find `pwd` -name .git* -type
f -print0 | xargs -0 rm -r");
+queueCommand("cd temp/ && find `pwd` -name .DS_Store | xargs rm -r");
 
 queueCommand("echo 'Zipping and signing bin'");
 queueCommand("cd temp/release/bin && zip -rq "+ cordovaBinZip +" * && gpg
--armor --output "+cordovaBinAsc+" --detach-sig "+cordovaBinZip+" && gpg --print-md
MD5 "+cordovaBinMd5+" > " + cordovaBinMd5 +" && gpg --print-md SHA512 " + cordovaBinZip
+ " > " + cordovaBinSha);

http://git-wip-us.apache.org/repos/asf/incubator-cordova-coho/blob/b4123d69/test/tests.coffee
----------------------------------------------------------------------
diff --git a/test/tests.coffee b/test/tests.coffee
index e97374f..20af22a 100644
--- a/test/tests.coffee
+++ b/test/tests.coffee
@@ -1,5 +1,5 @@
-VERSION = '1.6.0'
-oldVersion = '1.5.0'
+VERSION = '1.9.0rc1'
+oldVersion = '1.8.1'
 
 exports['sanity test'] = (test)-> 
     test.expect 1
@@ -214,13 +214,13 @@ exports['test if doc md5 is empty'] = (test)->
 	test.expect 1
 	fs = require('fs')
 	test.ok fs.statSync("./temp/release/doc/cordova-"+VERSION+"-incubating-doc.zip.md5").size
!= 0, 'doc md5 created too soon'
-	test.done()		
+	test.done()	
+		
 exports['ios script successfull'] = (test)->
 	test.expect 1
 	test.ok require('path').existsSync("./temp/repositories/incubator-cordova-ios/dist/Cordova-"+VERSION+".dmg")
 	test.done()
-	
-
+		
 exports['android script successfull'] = (test)->
 	test.expect 1
 	test.ok require('path').existsSync("./temp/repositories/incubator-cordova-android/example/libs/cordova-"+VERSION+".jar")
@@ -282,8 +282,5 @@ exports['test if src md5 is empty'] = (test)->
 	test.expect 1
 	fs = require('fs')
 	test.ok fs.statSync("./temp/release/src/cordova-"+VERSION+"-incubating-src.zip.md5").size
!= 0, 'src md5 created too soon'
-	test.done()		
-exports['ios script successfull'] = (test)->
-	test.expect 1
-	test.ok require('path').existsSync("./temp/repositories/incubator-cordova-ios/dist/Cordova-"+VERSION+".dmg")
-	test.done()
\ No newline at end of file
+	test.done()	
+		


Mime
View raw message