-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Carthage support #36
Carthage support #36
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,33 @@ | ||
osx_image: xcode10 | ||
language: objective-c | ||
podfile: Demo/Podfile | ||
cache: cocoapods | ||
xcode_project: RxNimble.xcodeproj | ||
xcode_scheme: | ||
- RxNimbleRxBlocking | ||
- RxNimbleRxTest | ||
|
||
cache: | ||
directories: | ||
- $HOME/Library/Caches/org.carthage.CarthageKit/dependencies | ||
- Carthage | ||
|
||
before_install: | ||
- gem install cocoapods -v '1.3.1' | ||
- pod repo update | ||
script: cd Demo ; set -o pipefail && xcodebuild -workspace 'Demo.xcworkspace' -scheme 'Demo' -configuration 'Debug' -sdk iphonesimulator -destination platform='iOS Simulator',OS='12.0',name='iPhone 8' build test | xcpretty -c --test | ||
- carthageversion=$(carthage version) | ||
- if [ $carthageversion != "0.31.2" ]; then brew uninstall carthage; HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a85feeb75bc9e9beb7f2e9dc6e2ccc996a6aeaf5/Formula/carthage.rb; fi | ||
|
||
jobs: | ||
include: | ||
- stage: prepare carthage cache | ||
script: | ||
- carthage bootstrap --no-use-binaries --cache-builds | ||
- stage: carthage builds | ||
script: | ||
- carthage build --cache-builds --no-skip-current --platform macOS | ||
- script: | ||
- carthage build --cache-builds --no-skip-current --platform iOS | ||
- script: | ||
- carthage build --cache-builds --no-skip-current --platform tvOS | ||
|
||
stages: | ||
- prepare carthage cache | ||
- test | ||
- carthage builds |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
## Current Master | ||
|
||
- Nothing yet! | ||
- Carthage support | ||
|
||
## 4.4.0 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
github "ReactiveX/RxSwift" ~> 4.2 | ||
github "Quick/Quick" | ||
github "Quick/Nimble" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
github "Quick/Nimble" "v7.3.1" | ||
github "Quick/Quick" "v1.3.2" | ||
github "ReactiveX/RxSwift" "4.4.0" |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to the best of my knowledge, a carthage version can't be specified in a Gemfile, so this is currently the fastest way I know to install a specific version. And actually I didn't mean to use 0.31.2 specifically, I'd like to always use the most up-to-date one but
brew update
is expensiveThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this is a bit backwards but I don't have a nicer idea to go around this for now :)