forked from lauriesk/wireguard-apple
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
32 lines (30 loc) · 939 Bytes
/
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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "WireGuardKit",
platforms: [
.macOS(.v10_14),
.iOS(.v12)
],
products: [
.library(name: "WireGuardKit", targets: ["WireGuardKit"])
],
dependencies: [],
targets: [
.target(
name: "WireGuardKit",
dependencies: ["WireGuardKitGo", "WireGuardKitC"]
),
.target(
name: "WireGuardKitC",
dependencies: [],
publicHeadersPath: "."
),
.binaryTarget(
name: "WireGuardKitGo",
url: "https://github.com/battlmonstr/wireguard-apple/releases/download/1.0.15.13/WireGuardKitGo.xcframework.zip",
checksum: "c01d7c8d2523f23f1287871af482c3c464e0a9a6062445e036995fbdedb93498"
)
]
)