-
Notifications
You must be signed in to change notification settings - Fork 7
/
Package.swift
44 lines (40 loc) · 1.23 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
43
44
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "VirgilE3Kit",
platforms: [
.macOS(.v10_13), .iOS(.v11), .tvOS(.v11), .watchOS(.v4),
],
products: [
.library(
name: "VirgilE3Kit",
targets: ["VirgilE3Kit"]
)
],
dependencies: [
.package(url: "https://github.com/VirgilSecurity/virgil-pythia-x.git", exact: .init(0, 12, 1)),
.package(url: "https://github.com/VirgilSecurity/virgil-ratchet-x.git", exact: .init(0, 10, 1)),
],
targets: [
.target(
name: "VirgilE3Kit",
dependencies: [
.product(name: "VirgilSDKRatchet", package: "virgil-ratchet-x"),
.product(name: "VirgilSDKPythia", package: "virgil-pythia-x"),
],
path: "Source"
),
.testTarget(
name: "VirgilE3KitTests",
dependencies: ["VirgilE3Kit"],
path: "Tests/Swift",
resources: [
.process("Data")
],
swiftSettings: [
.define("SPM_BUILD")
]
),
]
)