Skip to content
This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Commit aabaf64

Browse files
authored
Merge pull request #6 from inamiy/ReactiveSwift-1.0.0
Add CocoaPods & Swift Package Manager support, update ReactiveSwift to 1.0.0
2 parents b193cca + d95e18f commit aabaf64

23 files changed

+114
-37
lines changed

.Package.test.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import PackageDescription
2+
3+
let package = Package(
4+
name: "ReactiveAutomaton",
5+
dependencies: [
6+
.Package(url: "https://github.com/ReactiveCocoa/ReactiveSwift.git", majorVersion: 1),
7+
.Package(url: "https://github.com/Quick/Quick", majorVersion: 1),
8+
.Package(url: "https://github.com/Quick/Nimble", majorVersion: 5, minor: 1)
9+
]
10+
)

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ playground.xcworkspace
3434
# Swift Package Manager
3535
#
3636
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
37-
# Packages/
37+
Packages/
3838
.build/
3939

4040
# CocoaPods
@@ -54,7 +54,7 @@ Carthage/Build
5454

5555
# fastlane
5656
#
57-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
57+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
5858
# screenshots whenever they are needed.
5959
# For more information about the recommended setup visit:
6060
# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0

.travis.yml

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ env:
33
- LC_CTYPE=en_US.UTF-8
44
- XCPROJ="-workspace ReactiveAutomaton.xcworkspace -scheme ReactiveAutomaton"
55

6+
osx_image: xcode8.2
7+
68
matrix:
79
include:
810
- os: osx
9-
osx_image: xcode8
1011
language: objective-c
1112
script:
1213
- set -o pipefail
@@ -15,16 +16,14 @@ matrix:
1516
- JOB=xcodebuild-macOS
1617

1718
- os: osx
18-
osx_image: xcode8
1919
language: objective-c
2020
script:
2121
- set -o pipefail
22-
- xcodebuild build-for-testing test-without-building -destination 'platform=iOS Simulator,name=iPhone 6s' ENABLE_TESTABILITY=YES $XCPROJ | xcpretty
22+
- xcodebuild build-for-testing test-without-building -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.0' ENABLE_TESTABILITY=YES $XCPROJ | xcpretty
2323
env:
2424
- JOB=xcodebuild-iOS
2525

2626
- os: osx
27-
osx_image: xcode8
2827
language: objective-c
2928
script:
3029
- set -o pipefail
@@ -33,16 +32,34 @@ matrix:
3332
- JOB=xcodebuild-tvOS
3433

3534
- os: osx
36-
osx_image: xcode8
3735
language: objective-c
3836
script:
3937
- set -o pipefail
4038
- xcodebuild build -destination 'platform=watchOS Simulator,name=Apple Watch - 38mm' $XCPROJ | xcpretty
4139
env:
4240
- JOB=xcodebuild-watchOS
4341

44-
# - os: osx
45-
# osx_image: xcode8
46-
# script:
47-
# - pod lib lint --allow-warnings
48-
# env: JOB=pod-lint
42+
- os: osx
43+
script:
44+
- pod repo update --silent
45+
- pod lib lint --allow-warnings
46+
env: JOB=pod-lint
47+
48+
- os: osx
49+
language: generic
50+
script:
51+
- swift build
52+
env:
53+
- JOB=swiftpm-mac
54+
55+
- os: linux
56+
language: generic
57+
sudo: required
58+
dist: trusty
59+
before_install:
60+
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
61+
script:
62+
- mv .Package.test.swift Package.swift
63+
- swift build
64+
- swift test
65+
env: JOB=swiftpm-linux

Cartfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
github "ReactiveCocoa/ReactiveSwift" "master" #~> 1.0.0
1+
github "ReactiveCocoa/ReactiveSwift" ~> 1.0.0

Cartfile.private

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
github "Quick/Quick" ~> 0.10.0
1+
github "Quick/Quick" ~> 1.0.0
22
github "Quick/Nimble" ~> 5.0.0
33
github "mrackwitz/xcconfigs"

Cartfile.resolved

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github "Quick/Nimble" "v5.0.0"
2-
github "Quick/Quick" "v0.10.0"
1+
github "Quick/Nimble" "v5.1.1"
2+
github "Quick/Quick" "v1.0.0"
33
github "antitypical/Result" "3.1.0"
44
github "mrackwitz/xcconfigs" "3.0"
5-
github "ReactiveCocoa/ReactiveSwift" "90308457b2928c38fd8ab90ab073f217e6560030"
5+
github "ReactiveCocoa/ReactiveSwift" "1.0.0"

Carthage/Checkouts/Nimble

Submodule Nimble updated 58 files

Carthage/Checkouts/Quick

Submodule Quick updated 48 files

Carthage/Checkouts/ReactiveSwift

Submodule ReactiveSwift updated 60 files

0 commit comments

Comments
 (0)