Skip to content

Commit 4184247

Browse files
authored
Merge pull request #100 from Carthage/xcode-9
Migrate to Xcode 9
2 parents c4ac2a7 + 632a827 commit 4184247

File tree

9 files changed

+51
-44
lines changed

9 files changed

+51
-44
lines changed

.swift-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.1
1+
4.0

.travis.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,14 @@ branches:
55
- master
66
matrix:
77
include:
8-
- os: osx
9-
osx_image: xcode8.3
10-
xcode_scheme: ReactiveTask
11-
script:
12-
- set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
13-
env: JOB=Xcode8
148
- os: osx
159
osx_image: xcode9
1610
xcode_scheme: ReactiveTask
1711
script:
1812
- set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" test | xcpretty
1913
env: JOB=Xcode9
2014
- os: osx
21-
osx_image: xcode8.3
15+
osx_image: xcode9
2216
script:
2317
- swift build
2418
- SWIFTPM_TEST_ReactiveTask=YES swift test
@@ -44,4 +38,4 @@ deploy:
4438
on:
4539
repo: Carthage/ReactiveTask
4640
tags: true
47-
condition: $JOB = Xcode8
41+
condition: $JOB = Xcode9

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
github "Quick/Nimble" "v7.0.1"
22
github "Quick/Quick" "v1.1.0"
3-
github "ReactiveCocoa/ReactiveSwift" "2.0.0"
3+
github "ReactiveCocoa/ReactiveSwift" "2.0.1"
44
github "antitypical/Result" "3.2.3"
55
github "jspahrsummers/xcconfigs" "3d9d99634cae6d586e272543d527681283b33eb0"

Package.pins

Lines changed: 0 additions & 30 deletions
This file was deleted.

Package.resolved

Lines changed: 25 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ReactiveTask.xcodeproj/project.pbxproj

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
isa = PBXProject;
276276
attributes = {
277277
LastSwiftUpdateCheck = 0700;
278-
LastUpgradeCheck = 0800;
278+
LastUpgradeCheck = 0900;
279279
ORGANIZATIONNAME = Carthage;
280280
TargetAttributes = {
281281
D0BFEA571A2D1E5E00E23194 = {
@@ -358,7 +358,11 @@
358358
isa = XCBuildConfiguration;
359359
baseConfigurationReference = D0BFEA781A2D1E7C00E23194 /* Debug.xcconfig */;
360360
buildSettings = {
361+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
362+
CLANG_WARN_COMMA = YES;
361363
CLANG_WARN_INFINITE_RECURSION = YES;
364+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
365+
CLANG_WARN_STRICT_PROTOTYPES = YES;
362366
CLANG_WARN_SUSPICIOUS_MOVE = YES;
363367
CURRENT_PROJECT_VERSION = 1;
364368
ENABLE_TESTABILITY = YES;
@@ -376,7 +380,11 @@
376380
isa = XCBuildConfiguration;
377381
baseConfigurationReference = D0BFEA7A1A2D1E7C00E23194 /* Release.xcconfig */;
378382
buildSettings = {
383+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
384+
CLANG_WARN_COMMA = YES;
379385
CLANG_WARN_INFINITE_RECURSION = YES;
386+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
387+
CLANG_WARN_STRICT_PROTOTYPES = YES;
380388
CLANG_WARN_SUSPICIOUS_MOVE = YES;
381389
CURRENT_PROJECT_VERSION = 1;
382390
GCC_NO_COMMON_BLOCKS = YES;
@@ -450,7 +458,11 @@
450458
isa = XCBuildConfiguration;
451459
baseConfigurationReference = D0BFEA7B1A2D1E7C00E23194 /* Test.xcconfig */;
452460
buildSettings = {
461+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
462+
CLANG_WARN_COMMA = YES;
453463
CLANG_WARN_INFINITE_RECURSION = YES;
464+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
465+
CLANG_WARN_STRICT_PROTOTYPES = YES;
454466
CLANG_WARN_SUSPICIOUS_MOVE = YES;
455467
CURRENT_PROJECT_VERSION = 1;
456468
GCC_NO_COMMON_BLOCKS = YES;
@@ -495,7 +507,11 @@
495507
isa = XCBuildConfiguration;
496508
baseConfigurationReference = D0BFEA791A2D1E7C00E23194 /* Profile.xcconfig */;
497509
buildSettings = {
510+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
511+
CLANG_WARN_COMMA = YES;
498512
CLANG_WARN_INFINITE_RECURSION = YES;
513+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
514+
CLANG_WARN_STRICT_PROTOTYPES = YES;
499515
CLANG_WARN_SUSPICIOUS_MOVE = YES;
500516
CURRENT_PROJECT_VERSION = 1;
501517
GCC_NO_COMMON_BLOCKS = YES;

ReactiveTask.xcodeproj/xcshareddata/xcschemes/ReactiveTask.xcscheme

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0900"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -40,6 +40,7 @@
4040
buildConfiguration = "Debug"
4141
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4242
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
43+
language = ""
4344
shouldUseLaunchSchemeArgsEnv = "YES">
4445
<Testables>
4546
<TestableReference
@@ -69,6 +70,7 @@
6970
buildConfiguration = "Debug"
7071
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
7172
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
73+
language = ""
7274
launchStyle = "0"
7375
useCustomWorkingDirectory = "NO"
7476
ignoresPersistentStateOnLaunch = "NO"

Sources/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ extension Task: Hashable {
8888
}
8989
}
9090

91-
private func ==<Key: Equatable, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?) -> Bool {
91+
private func ==<Key, Value: Equatable>(lhs: [Key: Value]?, rhs: [Key: Value]?) -> Bool {
9292
switch (lhs, rhs) {
9393
case let (lhs?, rhs?):
9494
return lhs == rhs

0 commit comments

Comments
 (0)