-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (30 loc) · 812 Bytes
/
Package.swift
File metadata and controls
34 lines (30 loc) · 812 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "LanguageServer",
platforms: [
.macOS(.v11),
.iOS(.v14),
.tvOS(.v14),
.watchOS(.v7),
.macCatalyst(.v14),
],
products: [
.library(name: "LanguageServer", targets: ["LanguageServer"]),
],
dependencies: [
.package(url: "https://github.com/ChimeHQ/LanguageServerProtocol", from: "0.13.4"),
],
targets: [
.target(name: "LanguageServer", dependencies: ["LanguageServerProtocol"]),
.testTarget(name: "LanguageServerTests", dependencies: ["LanguageServer"]),
]
)
let swiftSettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency")
]
for target in package.targets {
var settings = target.swiftSettings ?? []
settings.append(contentsOf: swiftSettings)
target.swiftSettings = settings
}