From commits-return-7413-apmail-cordova-commits-archive=cordova.apache.org@cordova.apache.org Sun Dec 30 21:02:37 2012 Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3221DEC41 for ; Sun, 30 Dec 2012 21:02:37 +0000 (UTC) Received: (qmail 32329 invoked by uid 500); 30 Dec 2012 21:02:36 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 32268 invoked by uid 500); 30 Dec 2012 21:02:36 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 32157 invoked by uid 99); 30 Dec 2012 21:02:36 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Dec 2012 21:02:35 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B43968211E2; Sun, 30 Dec 2012 21:02:35 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: steven@apache.org To: commits@cordova.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [4/5] git commit: updated coho Message-Id: <20121230210235.B43968211E2@tyr.zones.apache.org> Date: Sun, 30 Dec 2012 21:02:35 +0000 (UTC) updated coho Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/b90602fb Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/b90602fb Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/b90602fb Branch: refs/heads/master Commit: b90602fbbebeddb4442eec99173fd0552d115dfd Parents: dd0437d Author: steven gill Authored: Fri Nov 30 12:10:00 2012 -0800 Committer: steven gill Committed: Fri Nov 30 12:10:00 2012 -0800 ---------------------------------------------------------------------- coho | 31 +++++++++++---------- package.json | 6 +++- test/tests.coffee | 70 ++++++++++++++++++++++++------------------------ 3 files changed, 55 insertions(+), 52 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b90602fb/coho ---------------------------------------------------------------------- diff --git a/coho b/coho index d7cc506..aebc20e 100755 --- a/coho +++ b/coho @@ -43,21 +43,22 @@ var util = require('util') var platformDict = { - "iOS" : ['https://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git','incubator-cordova-ios'], - "Android":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git', 'incubator-cordova-android'], - "BlackBerry":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks.git', 'incubator-cordova-blackberry-webworks'], - "Windows":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-windows.git', 'incubator-cordova-windows'], - "Windows Phone":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7.git', 'incubator-cordova-wp7'], - "Bada":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada.git', 'incubator-cordova-bada'], - "BadaWac":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada-wac.git', 'incubator-cordova-bada-wac'], - "WebOS":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-webos.git', 'incubator-cordova-webos'], - "Tizen":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-tizen.git', 'incubator-cordova-tizen'], - "QT":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-qt.git', 'incubator-cordova-qt'], - "OSX":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-mac.git', 'incubator-cordova-mac'], - "Docs":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-docs.git', 'incubator-cordova-docs'], - "MobileSpec":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec.git', 'incubator-cordova-mobile-spec'], - "CordovaJS":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-js.git', 'incubator-cordova-js'], - "Hello World App":['https://git-wip-us.apache.org/repos/asf/incubator-cordova-app-hello-world.git', 'incubator-cordova-app-hello-world'] + "iOS" : ['https://git-wip-us.apache.org/repos/asf/cordova-ios.git','cordova-ios'], + "Android":['https://git-wip-us.apache.org/repos/asf/cordova-android.git', 'cordova-android'], + "BlackBerry":['https://git-wip-us.apache.org/repos/asf/cordova-blackberry.git', 'cordova-blackberry'], + "Windows":['https://git-wip-us.apache.org/repos/asf/cordova-windows.git', 'cordova-windows'], + "Windows Phone 7":['https://git-wip-us.apache.org/repos/asf/cordova-wp7.git', 'cordova-wp7'], + "Windows Phone 8":['https://git-wip-us.apache.org/repos/asf/cordova-wp8.git', 'cordova-wp8'], + "Bada":['https://git-wip-us.apache.org/repos/asf/cordova-bada.git', 'cordova-bada'], + "BadaWac":['https://git-wip-us.apache.org/repos/asf/cordova-bada-wac.git', 'cordova-bada-wac'], + "WebOS":['https://git-wip-us.apache.org/repos/asf/cordova-webos.git', 'cordova-webos'], + "Tizen":['https://git-wip-us.apache.org/repos/asf/cordova-tizen.git', 'cordova-tizen'], + "QT":['https://git-wip-us.apache.org/repos/asf/cordova-qt.git', 'cordova-qt'], + "OSX":['https://git-wip-us.apache.org/repos/asf/cordova-osx.git', 'cordova-osx'], + "Docs":['https://git-wip-us.apache.org/repos/asf/cordova-docs.git', 'cordova-docs'], + "MobileSpec":['https://git-wip-us.apache.org/repos/asf/cordova-mobile-spec.git', 'cordova-mobile-spec'], + "CordovaJS":['https://git-wip-us.apache.org/repos/asf/cordova-js.git', 'cordova-js'], + "Hello World App":['https://git-wip-us.apache.org/repos/asf/cordova-app-hello-world.git', 'cordova-app-hello-world'] }; http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b90602fb/package.json ---------------------------------------------------------------------- diff --git a/package.json b/package.json index 7bb630b..1d0071e 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,13 @@ "description": "apache cordova release tool", "main": "./coho", "directories": { - "test": "test" + "test": "make" }, "devDependencies": { "coffee-script": ">=1.2.0", - "nodeunit": "0.7.4", + "nodeunit": "0.7.4" + }, + "dependencies": { "shelljs": "0.0.8" }, "scripts": { http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b90602fb/test/tests.coffee ---------------------------------------------------------------------- diff --git a/test/tests.coffee b/test/tests.coffee index 43d2e42..8b37579 100644 --- a/test/tests.coffee +++ b/test/tests.coffee @@ -1,5 +1,5 @@ -VERSION = '2.2.0' -OLDVER = '2.1.0' +VERSION = '2.3.0rc1' +OLDVER = '2.2.0' exports['sanity test'] = (test)-> test.expect 1 @@ -35,103 +35,103 @@ exports['creating release directory']=(test)-> exports['confirm ios clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-ios/CordovaLib/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-ios/CordovaLib/VERSION") test.done() exports['confirm android clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-android/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-android/VERSION") test.done() exports['confirm blackberry clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-blackberry-webworks/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-blackberry/VERSION") test.done() exports['confirm windows 8 clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-windows/windows8/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-windows/windows8/VERSION") test.done() exports['confirm windows phone clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-wp7/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-wp7/VERSION") test.done() exports['confirm webos clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-webos/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-webos/VERSION") test.done() exports['confirm bada clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-bada/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-bada/VERSION") test.done() exports['confirm bada-wac clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-bada-wac/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-bada-wac/VERSION") test.done() exports['confirm docs clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-docs/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-docs/VERSION") test.done() exports['confirm docs clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-docs/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-docs/VERSION") test.done() exports['confirm cordova-js clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-js/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-js/VERSION") test.done() exports['confirm hello world app clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-app-hello-world/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-app-hello-world/VERSION") test.done() exports['confirm qt clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-qt/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-qt/VERSION") test.done() exports['confirm tizen clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-tizen/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-tizen/VERSION") test.done() -exports['confirm mac clone worked'] = (test)-> +exports['confirm osx clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-mac/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-osx/VERSION") test.done() exports['confirm mobile-spec clone worked'] = (test)-> test.expect 1 fs = require('fs') - test.ok fs.existsSync("./temp/repositories/incubator-cordova-mobile-spec/VERSION") + test.ok fs.existsSync("./temp/repositories/cordova-mobile-spec/VERSION") test.done() exports['check ios version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-ios/CordovaLib/VERSION', 'ascii') != VERSION + if fs.readFileSync('./temp/repositories/cordova-ios/CordovaLib/VERSION', 'ascii') != VERSION test.ok false, "VERSION file doesn't match release version" test.done() else @@ -141,7 +141,7 @@ exports['check ios version number'] = (test)-> exports['check android version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-android/VERSION', 'utf8') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-android/VERSION', 'utf8') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -151,7 +151,7 @@ exports['check android version number'] = (test)-> exports['check blackberry version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-blackberry-webworks/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-blackberry/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -161,7 +161,7 @@ exports['check blackberry version number'] = (test)-> exports['check windows 8 version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-windows/windows8/VERSION', 'ascii') != VERSION + if fs.readFileSync('./temp/repositories/cordova-windows/windows8/VERSION', 'ascii') != VERSION test.ok false, "VERSION file doesn't match release version" test.done() else @@ -171,7 +171,7 @@ exports['check windows 8 version number'] = (test)-> exports['check windows phone version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-wp7/VERSION', 'ascii') != VERSION + if fs.readFileSync('./temp/repositories/cordova-wp7/VERSION', 'ascii') != VERSION test.ok false, "VERSION file doesn't match release version" test.done() else @@ -181,7 +181,7 @@ exports['check windows phone version number'] = (test)-> exports['check webos version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-webos/VERSION', 'ascii') != VERSION + if fs.readFileSync('./temp/repositories/cordova-webos/VERSION', 'ascii') != VERSION test.ok false, "VERSION file doesn't match release version" test.done() else @@ -191,7 +191,7 @@ exports['check webos version number'] = (test)-> exports['check bada-wac version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-bada-wac/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-bada-wac/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -201,7 +201,7 @@ exports['check bada-wac version number'] = (test)-> exports['check bada version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-bada/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-bada/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -211,7 +211,7 @@ exports['check bada version number'] = (test)-> exports['check docs version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-docs/VERSION', 'ascii') != VERSION + if fs.readFileSync('./temp/repositories/cordova-docs/VERSION', 'ascii') != VERSION test.ok false, "VERSION file doesn't match release version" test.done() else @@ -221,7 +221,7 @@ exports['check docs version number'] = (test)-> exports['check cordova-js version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-js/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-js/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -231,7 +231,7 @@ exports['check cordova-js version number'] = (test)-> exports['check hello world app version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-app-hello-world/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-app-hello-world/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -241,7 +241,7 @@ exports['check hello world app version number'] = (test)-> exports['check QT version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-qt/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-qt/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -251,17 +251,17 @@ exports['check QT version number'] = (test)-> exports['check tizen version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-tizen/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-tizen/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else test.ok true, "VERSION file matches release version" test.done() -exports['check mac version number'] = (test)-> +exports['check osx version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-mac/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-osx/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else @@ -271,7 +271,7 @@ exports['check mac version number'] = (test)-> exports['check mobile spec version number'] = (test)-> test.expect 1 fs = require('fs') - if fs.readFileSync('./temp/repositories/incubator-cordova-mobile-spec/VERSION', 'ascii') != VERSION+"\n" + if fs.readFileSync('./temp/repositories/cordova-mobile-spec/VERSION', 'ascii') != VERSION+"\n" test.ok false, "VERSION file doesn't match release version" test.done() else