-
Notifications
You must be signed in to change notification settings - Fork 63
/
Package.swift
41 lines (40 loc) · 1.13 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "UForm",
platforms: [
// Linux doesn't have to be explicitly listed
.iOS(.v16), // For iOS, version 13 and later
.tvOS(.v16), // For tvOS, version 13 and later
.macOS(.v13), // For macOS, version 10.15 (Catalina) and later
.watchOS(.v6), // For watchOS, version 6 and later
],
products: [
.library(
name: "UForm",
targets: ["UForm"]
)
],
dependencies: [
.package(
url: "https://github.com/ashvardanian/swift-transformers",
revision: "89fb5d97e1df347f9f588f62fc538dcad6fdb16c"
)
],
targets: [
.target(
name: "UForm",
dependencies: [
.product(name: "Transformers", package: "swift-transformers")
],
path: "swift",
exclude: ["EncodersTests.swift"]
),
.testTarget(
name: "UFormTests",
dependencies: ["UForm"],
path: "swift",
sources: ["EncodersTests.swift"]
),
]
)