Skip to content

Commit 23b3f02

Browse files
authored
Merge pull request #54 from devxoul/swift-4.0
Let's Swift 4.0
2 parents 1c837be + a7793c8 commit 23b3f02

4 files changed

Lines changed: 19 additions & 10 deletions

File tree

.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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
osx_image: xcode8.3
1+
osx_image: xcode9
22
language: objective-c
33
sudo: required
44
env:
55
global:
66
- PROJECT="Then.xcodeproj"
7-
- SCHEME="Then"
8-
- IOS_SDK="iphonesimulator10.3"
9-
- MACOS_SDK="macosx10.12"
10-
- TVOS_SDK="appletvsimulator10.2"
7+
- SCHEME="Then-Package"
8+
- IOS_SDK="iphonesimulator11.0"
9+
- MACOS_SDK="macosx10.13"
10+
- TVOS_SDK="appletvsimulator11.0"
1111
- FRAMEWORK="Then"
1212
matrix:
13-
- SDK="$IOS_SDK" DESTINATION="platform=iOS Simulator,name=iPhone 7,OS=10.3.1"
13+
- SDK="$IOS_SDK" DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=11.0"
1414
- SDK="$MACOS_SDK" DESTINATION="arch=x86_64"
15-
- SDK="$TVOS_SDK" DESTINATION="OS=10.2,name=Apple TV 1080p"
15+
- SDK="$TVOS_SDK" DESTINATION="OS=11.0,name=Apple TV 1080p"
1616

1717
install:
1818
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"

Package.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
1+
// swift-tools-version:4.0
2+
13
import PackageDescription
24

35
let package = Package(
4-
name: "Then"
6+
name: "Then",
7+
products: [
8+
.library(name: "Then", targets: ["Then"]),
9+
],
10+
targets: [
11+
.target(name: "Then"),
12+
.testTarget(name: "ThenTests", dependencies: ["Then"]),
13+
]
514
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Then
22

3-
![Swift](https://img.shields.io/badge/Swift-3.0-orange.svg)
3+
![Swift](https://img.shields.io/badge/Swift-4.0-orange.svg)
44
[![CocoaPods](http://img.shields.io/cocoapods/v/Then.svg)](https://cocoapods.org/pods/Then)
55
[![Build Status](https://travis-ci.org/devxoul/Then.svg?branch=master)](https://travis-ci.org/devxoul/Then)
66
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)

0 commit comments

Comments
 (0)