Skip to content

Commit

Permalink
Fix Swift Package Manager building
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyarnold committed Oct 5, 2017
1 parent 851ca35 commit ce94d86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ install:

script:
- set -o pipefail && travis_retry xcodebuild -project ReactiveKit.xcodeproj -scheme ReactiveKit-iOS -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.0' test | xcpretty
- swift test --parallel
- swift test

after_success:
- bash <(curl -s https://codecov.io/bash)
6 changes: 5 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
import PackageDescription

let package = Package(
name: "ReactiveKit"
name: "ReactiveKit",
targets: [
.target(name: "ReactiveKit", path: "Sources"),
.testTarget(name: "ReactiveKitTests", dependencies: ["ReactiveKit"])
]
)

0 comments on commit ce94d86

Please sign in to comment.