-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
48 lines (45 loc) · 1.4 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
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version:5.8
import PackageDescription
var globalSwiftSettings: [PackageDescription.SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency"),
.enableUpcomingFeature("ExistentialAny"),
.enableExperimentalFeature("AccessLevelOnImport"),
.enableUpcomingFeature("InternalImportsByDefault"),
]
let package = Package(
name: "Lindenmayer",
platforms: [
.iOS(.v15),
.macOS(.v12),
.tvOS(.v15),
.watchOS(.v8),
],
products: [
.library(
name: "Lindenmayer",
targets: ["Lindenmayer"]
),
.library(name: "LindenmayerViews", targets: ["LindenmayerViews"]),
],
dependencies: [
.package(url: "https://github.com/heckj/SceneKitDebugTools.git", from: "0.1.0"),
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
name: "Lindenmayer",
dependencies: ["SceneKitDebugTools"],
swiftSettings: globalSwiftSettings
),
.target(
name: "LindenmayerViews",
dependencies: ["Lindenmayer", "SceneKitDebugTools"],
swiftSettings: globalSwiftSettings
),
.testTarget(
name: "LindenmayerTests",
dependencies: ["Lindenmayer", "SceneKitDebugTools"]
),
],
swiftLanguageVersions: [.version("6"), .v5]
)