Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Package.swift to support Swift 5 #641

Merged
merged 2 commits into from
Apr 2, 2019
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
7 changes: 5 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// swift-tools-version:4.2
// swift-tools-version:5.0
import PackageDescription

let package = Package(
name: "Nimble",
platforms: [
.macOS(.v10_10), .iOS(.v8), .tvOS(.v9)
],
products: [
.library(name: "Nimble", targets: ["Nimble"]),
],
Expand All @@ -17,5 +20,5 @@ let package = Package(
exclude: ["objc"]
),
],
swiftLanguageVersions: [.v4_2]
swiftLanguageVersions: [.v5]
)
21 changes: 21 additions & 0 deletions Package@swift-4.2.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// swift-tools-version:4.2
import PackageDescription

let package = Package(
name: "Nimble",
products: [
.library(name: "Nimble", targets: ["Nimble"]),
ikesyo marked this conversation as resolved.
Show resolved Hide resolved
],
targets: [
.target(
name: "Nimble",
ikesyo marked this conversation as resolved.
Show resolved Hide resolved
dependencies: []
),
.testTarget(
name: "NimbleTests",
ikesyo marked this conversation as resolved.
Show resolved Hide resolved
dependencies: ["Nimble"],
ikesyo marked this conversation as resolved.
Show resolved Hide resolved
exclude: ["objc"]
),
ikesyo marked this conversation as resolved.
Show resolved Hide resolved
],
swiftLanguageVersions: [.v4_2]
)