mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 16:42:09 +00:00
1942b82ebb
Simplify development and maintenance immensely by making this a monorepository: - Convert PassepartoutKit and VPN bindings to local packages - OpenVPN/OpenSSL - WireGuard/Go - Make PassepartoutKit available via - Source submodule for production (private) - [Binary XCFramework for development](https://github.com/passepartoutvpn/passepartoutkit) - Add PassepartoutKit Demo in root - Deploy package later
41 lines
1.1 KiB
Swift
41 lines
1.1 KiB
Swift
// swift-tools-version: 5.9
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "PassepartoutWireGuardGo",
|
|
defaultLocalization: "en",
|
|
platforms: [
|
|
.iOS(.v15),
|
|
.macOS(.v12),
|
|
.tvOS(.v17)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "PassepartoutWireGuardGo",
|
|
targets: ["PassepartoutWireGuardGo"]
|
|
)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../PassepartoutKit-Framework"),
|
|
.package(url: "https://github.com/passepartoutvpn/wireguard-apple", from: "1.1.2")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "PassepartoutWireGuardGo",
|
|
dependencies: [
|
|
"PassepartoutKit-Framework",
|
|
.product(name: "WireGuardKit", package: "wireguard-apple")
|
|
],
|
|
resources: [
|
|
.process("Resources")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "PassepartoutWireGuardGoTests",
|
|
dependencies: ["PassepartoutWireGuardGo"]
|
|
)
|
|
]
|
|
)
|