-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathPackage.swift
More file actions
25 lines (24 loc) · 872 Bytes
/
Package.swift
File metadata and controls
25 lines (24 loc) · 872 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
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "SmartCodable",
// This manifest is intentionally kept macro-free so older SwiftPM versions
// can still build the runtime library without pulling in swift-syntax.
//
// SwiftPM will automatically pick `Package@swift-5.9.swift` on Swift 5.9+,
// where macro targets and swift-syntax dependencies are defined.
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)],
products: [
// Core library without macro support (no swift-syntax dependency)
// Recommended for users who don't need inheritance features
.library(
name: "SmartCodable",
targets: ["SmartCodable"]
)
],
targets: [
.target(
name: "SmartCodable",
exclude: ["MacroSupport"]),
]
)