-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
40 lines (34 loc) · 1.14 KB
/
Package.swift
File metadata and controls
40 lines (34 loc) · 1.14 KB
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
// swift-tools-version:6.0
// Conifer © 2019–2025 Constantino Tsarouhas
import CompilerPluginSupport
import PackageDescription
let package = Package(
name: "Conifer",
platforms: [.macOS(.v15), .iOS(.v18), .tvOS(.v18), .watchOS(.v10), .visionOS(.v2)],
products: [
.library(name: "Conifer", targets: ["Conifer"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-syntax", from: "509.0.0"),
.package(url: "https://github.com/ctxppc/DepthKit", .upToNextMinor(from: "0.16.0")),
.package(url: "https://github.com/philipturner/swift-reflection-mirror", branch: "main"),
],
targets: [
.target(
name: "Conifer",
dependencies: [
"ConiferMacros",
"DepthKit",
.product(name: "ReflectionMirror", package: "swift-reflection-mirror"),
],
swiftSettings: [.enableExperimentalFeature("FreestandingMacros")]
),
.testTarget(name: "ConiferTests", dependencies: ["Conifer"]),
.macro(name: "ConiferMacros", dependencies: [
"DepthKit",
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
.product(name: "SwiftCompilerPlugin", package: "swift-syntax"),
]),
],
swiftLanguageModes: [.v6]
)