-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
35 lines (32 loc) · 1.09 KB
/
Package.swift
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
35
// swift-tools-version: 5.10
import PackageDescription
var dependencies: [Package.Dependency] = []
var plugins: [Target.PluginUsage]?
#if os(macOS)
dependencies = [.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", from: "0.56.2")]
plugins = [.plugin(name: "SwiftLintBuildToolPlugin", package: "SwiftLintPlugins")]
#endif
let package = Package(
name: "BijectiveDictionary",
platforms: [.macOS(.v12), .iOS(.v13), .tvOS(.v13), .watchOS(.v6), .macCatalyst(.v13)],
products: [
.library(
name: "BijectiveDictionary",
targets: ["BijectiveDictionary"])
],
dependencies: dependencies,
targets: [
.target(
name: "BijectiveDictionary",
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")],
plugins: plugins
),
.testTarget(
name: "BijectiveDictionaryTests",
dependencies: ["BijectiveDictionary"],
swiftSettings: [.enableExperimentalFeature("StrictConcurrency")],
plugins: plugins
),
],
swiftLanguageVersions: [.v5]
)