Skip to content

Commit

Permalink
Merge pull request #431 from libgit2/carthage-0.5
Browse files Browse the repository at this point in the history
Migrate to Carthage 0.5
  • Loading branch information
robrix committed Dec 30, 2014
2 parents 5021887 + 8e54413 commit 492c6be
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 13 deletions.
10 changes: 7 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
path = External/libssh2
url = git://git.libssh2.org/libssh2.git
[submodule "Carthage.checkout/Nimble"]
path = Carthage.checkout/Nimble
path = Carthage/Checkouts/Nimble
url = https://github.com/Quick/Nimble.git
[submodule "Carthage.checkout/Quick"]
path = Carthage.checkout/Quick
path = Carthage/Checkouts/Quick
url = https://github.com/Quick/Quick.git
[submodule "Carthage.checkout/xcconfigs"]
path = Carthage.checkout/xcconfigs
path = Carthage/Checkouts/xcconfigs
url = https://github.com/jspahrsummers/xcconfigs.git
[submodule "Carthage/Checkouts/Nimble"]
url = https://github.com/Quick/Nimble.git
[submodule "Carthage/Checkouts/Quick"]
url = https://github.com/Quick/Quick.git
3 changes: 0 additions & 3 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
github "jspahrsummers/xcconfigs" >= 0.7
github "Quick/Quick" == 0.2.0
github "Quick/Nimble"
3 changes: 3 additions & 0 deletions Cartfile.private
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
github "jspahrsummers/xcconfigs" >= 0.7
github "Quick/Quick" ~> 0.2
github "Quick/Nimble" ~> 0.2
2 changes: 1 addition & 1 deletion Cartfile.lock → Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github "Quick/Nimble" "v0.2.0"
github "Quick/Quick" "v0.2.0"
github "Quick/Quick" "v0.2.2"
github "jspahrsummers/xcconfigs" "0.7"
1 change: 0 additions & 1 deletion Carthage.checkout/Quick
Submodule Quick deleted from 315ae2
1 change: 1 addition & 0 deletions Carthage/Checkouts/Quick
Submodule Quick added at b0e982
2 changes: 1 addition & 1 deletion ObjectiveGitFramework.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@
D0D8186C174421EB00995A2E /* README.md */,
);
name = Configuration;
path = Carthage.checkout/xcconfigs;
path = Carthage/Checkouts/xcconfigs;
sourceTree = "<group>";
};
D0D81862174421EB00995A2E /* iOS */ = {
Expand Down
4 changes: 2 additions & 2 deletions ObjectiveGitFramework.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ObjectiveGitTests/GTRemotePushSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
BOOL success = NO;
GTBranch *localTrackingBranch = [masterBranch trackingBranchWithError:&error success:&success];
expect(error).to(beNil());
expect(@(success)).to(beTrue());
expect(@(success)).to(beTruthy());
expect(@([localTrackingBranch numberOfCommitsWithError:NULL])).to(equal(@3));

// Number of commits on remote before push
Expand All @@ -183,7 +183,7 @@
// Number of commits on tracking branch after push
localTrackingBranch = [masterBranch trackingBranchWithError:&error success:&success];
expect(error).to(beNil());
expect(@(success)).to(beTrue());
expect(@(success)).to(beTruthy());
expect(@([localTrackingBranch numberOfCommitsWithError:NULL])).to(equal(@4));

// Refresh remote master branch to ensure the commit count is accurate
Expand Down

0 comments on commit 492c6be

Please sign in to comment.