Skip to content

Commit 222b738

Browse files
committed
Set macOS 10.13 as minimum platform target
1 parent 059652b commit 222b738

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Package.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import PackageDescription
55

66
let package = Package(
77
name: "swift-doc",
8+
platforms: [
9+
.macOS(.v10_13)
10+
],
811
products: [
912
.executable(name: "swift-doc", targets: ["swift-doc"]),
1013
.library(name: "SwiftDoc", targets: ["SwiftDoc"])

Tests/EndToEndTests/EndToEndTests.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ final class EndToEndTests: XCTestCase {
1010
let pipe = Pipe()
1111
process.standardOutput = pipe
1212

13-
if #available(OSX 10.13, *) {
14-
try process.run()
15-
} else {
16-
process.launch()
17-
}
13+
try process.run()
1814
process.waitUntilExit()
1915

2016
let data = pipe.fileHandleForReading.readDataToEndOfFile()

0 commit comments

Comments
 (0)