Skip to content

Commit

Permalink
Switched to Cocoapods
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcruzeiro committed Sep 13, 2016
1 parent 3f127c2 commit e6a56c3
Show file tree
Hide file tree
Showing 9 changed files with 250 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ DerivedData
*.ipa
*.xcuserstate

Carthage/
Pods/
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
language: objective-c
osx_image: xcode8
before_install:
- brew update
- brew install carthage || brew outdated carthage || brew upgrade carthage
install:
- gem install xcpretty
- carthage bootstrap --platform "ios osx"
- gem install cocoapods --pre
script:
- pod update
- set -o pipefail && xcodebuild -scheme 'Cartography-Mac' test | xcpretty -c
- set -o pipefail && xcodebuild -scheme 'Cartography-iOS' -sdk iphonesimulator test | xcpretty -c
env:
Expand Down
2 changes: 0 additions & 2 deletions Cartfile.private

This file was deleted.

2 changes: 0 additions & 2 deletions Cartfile.resolved

This file was deleted.

185 changes: 185 additions & 0 deletions Cartography.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions Cartography.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 CartographyTests/PrioritySpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ class PrioritySpec: QuickSpec {
}

it("should operate on a single constraint") {
var constraint: NSLayoutConstraint!
var constraint: NSLayoutConstraint

constrain(view) { view in
constrain(view) { (view: LayoutProxy) -> Void in
constraint = (view.width == 200 ~ 100)
}

Expand Down
20 changes: 20 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
platform :ios, '8.0'

def testing_pods
use_frameworks!
pod 'Nimble', :git => 'https://github.com/Quick/Nimble.git'
pod 'Quick', :git => 'https://github.com/Quick/Quick.git', :branch => 'swift-3.0'
end

target 'Cartography-iOS-Tests' do
testing_pods
end

target 'Cartography-Mac-Tests' do
testing_pods
end

target 'Cartography-tvOS-tests' do
testing_pods
end

30 changes: 30 additions & 0 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
PODS:
- Nimble (5.0.0-alpha.30p1)
- Quick (0.9.3)

DEPENDENCIES:
- Nimble (from `https://github.com/Quick/Nimble.git`)
- Quick (from `https://github.com/Quick/Quick.git`, branch `swift-3.0`)

EXTERNAL SOURCES:
Nimble:
:git: https://github.com/Quick/Nimble.git
Quick:
:branch: swift-3.0
:git: https://github.com/Quick/Quick.git

CHECKOUT OPTIONS:
Nimble:
:commit: fcc28b23f57b30382e5f182c238674694d7174cb
:git: https://github.com/Quick/Nimble.git
Quick:
:commit: 8f2bc636ecfa2cc20696f62548b38d4ab943e299
:git: https://github.com/Quick/Quick.git

SPEC CHECKSUMS:
Nimble: c5b995b4cd57789ec44b0cfb79640fc00e61a8c7
Quick: 31fb576b6cbb6b028cc5e0016e4366accbb346f5

PODFILE CHECKSUM: 94e62a1cbb74d497712b7925a67bd347a615d4e5

COCOAPODS: 1.1.0.beta.1

0 comments on commit e6a56c3

Please sign in to comment.