Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

Update for Swift 4.2 #148

Merged
merged 2 commits into from
Sep 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ matrix:
env: ACTION=swiftpm-macOS

language: objective-c
osx_image: xcode9.3
osx_image: xcode10

script:
- make install-$ACTION && make test-$ACTION
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test-iOS:
-project Mapper.xcodeproj \
-scheme Mapper \
-configuration Release \
-destination "name=iPhone 7,OS=10.1" \
-destination "name=iPhone X,OS=12.0" \
test \
| xcpretty -ct

Expand All @@ -43,7 +43,7 @@ test-tvOS:
-project Mapper.xcodeproj \
-scheme Mapper \
-configuration Release \
-destination "platform=tvOS Simulator,name=Apple TV,OS=11.0" \
-destination "platform=tvOS Simulator,name=Apple TV,OS=12.0" \
test \
| xcpretty -ct

Expand Down
13 changes: 12 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
// swift-tools-version:4.2
import PackageDescription

let package = Package(name: "Mapper")
let package = Package(
name: "Mapper",
products: [
.library(name: "Mapper", targets: ["Mapper"]),
],
targets: [
.target(name: "Mapper", path: "Sources"),
.testTarget(name: "MapperTests", dependencies: ["Mapper"]),
],
swiftLanguageVersions: [.v4, .v4_2]
sberrevoets marked this conversation as resolved.
Show resolved Hide resolved
)