Skip to content

Commit

Permalink
updated coho
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengill committed Jan 18, 2012
1 parent 210c24c commit 3e9b2c6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions coho
Expand Up @@ -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) {
Expand Down
1 change: 0 additions & 1 deletion incubator-cordova-ios
Submodule incubator-cordova-ios deleted from 3ae160
1 change: 0 additions & 1 deletion temp/ios/incubator-cordova-ios
Submodule incubator-cordova-ios deleted from 3ae160
4 changes: 2 additions & 2 deletions test/tests.coffee
Expand Up @@ -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)->
Expand All @@ -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
Expand Down

0 comments on commit 3e9b2c6

Please sign in to comment.