Skip to content

Commit

Permalink
This hack did not work in fact
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Feb 13, 2019
1 parent a125a87 commit 2880aa5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
9 changes: 2 additions & 7 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ let pkg = Package(
targets: [
.target(name: "Path", path: "Sources"),
.testTarget(name: "PathTests", dependencies: ["Path"]),
]
],
swiftLanguageVersions: [.v4, .v4_2]
)

pkg.swiftLanguageVersions = [.v4_2]

#if swift(>=5)
pkg.swiftLanguageVersions.append(.v5)
#endif
1 change: 0 additions & 1 deletion [email protected]

This file was deleted.

14 changes: 14 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// swift-tools-version:5.0
import PackageDescription

let pkg = Package(
name: "Path.swift",
products: [
.library(name: "Path", targets: ["Path"]),
],
targets: [
.target(name: "Path", path: "Sources"),
.testTarget(name: "PathTests", dependencies: ["Path"]),
],
swiftLanguageVersions: [.v4, .v4_2, .v5]
)

0 comments on commit 2880aa5

Please sign in to comment.