-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
42 lines (40 loc) · 1.35 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
// swift-tools-version: 5.8
import PackageDescription
let package = Package(
name: "SwiftUIFormValidation",
defaultLocalization: "en",
platforms: [
.macOS(.v13), .iOS(.v16), .tvOS(.v16)
],
products: [
.library(
name: "SwiftUIFormValidation",
targets: ["SwiftUIFormValidation"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
.target(
name: "SwiftUIFormValidation",
dependencies: []
// swiftSettings: swiftSettings
),
.testTarget(
name: "SwiftUIFormValidationTests",
dependencies: ["SwiftUIFormValidation"]
// swiftSettings: swiftSettings
)
]
)
var swiftSettings: [SwiftSetting] {
[
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_FORWARD_TRAILING_CLOSURES"),
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_IMPLICIT_OPEN_EXISTENTIALS"),
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_IMPORT_OBJC_FORWARD_DECLS"),
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_ISOLATED_DEFAULT_VALUES"),
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_GLOBAL_CONCURRENCY"),
.enableUpcomingFeature("SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY")
]
}