-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathPackage.swift
More file actions
50 lines (48 loc) · 1.53 KB
/
Package.swift
File metadata and controls
50 lines (48 loc) · 1.53 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
41
42
43
44
45
46
47
48
49
50
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "SwiftEmailValidator",
platforms: [
.macOS(.v10_12),
.iOS(.v11),
.tvOS(.v11)
],
products: [
.library(
name: "SwiftEmailValidator",
targets: ["SwiftEmailValidator"]),
.library(
name: "SwiftEmailValidatorUTS39",
targets: ["SwiftEmailValidatorUTS39"]),
.library(
name: "SwiftEmailValidatorIDNA",
targets: ["SwiftEmailValidatorIDNA"]),
],
dependencies: [],
targets: [
.target(
name: "SwiftEmailValidator",
dependencies: [],
resources: []),
.target(
name: "SwiftEmailValidatorUTS39",
dependencies: ["SwiftEmailValidator"],
exclude: ["Tools"],
resources: []),
.target(
name: "SwiftEmailValidatorIDNA",
dependencies: ["SwiftEmailValidator"],
exclude: ["Tools"],
resources: []),
.testTarget(
name: "SwiftEmailValidatorTests",
dependencies: ["SwiftEmailValidator"]),
.testTarget(
name: "SwiftEmailValidatorUTS39Tests",
dependencies: ["SwiftEmailValidatorUTS39", "SwiftEmailValidator"]),
.testTarget(
name: "SwiftEmailValidatorIDNATests",
dependencies: ["SwiftEmailValidatorIDNA", "SwiftEmailValidator"],
resources: [.copy("Resources/IdnaTestV2.txt")]),
]
)