passepartout-apple/Packages/PassepartoutWireGuardGo/Package.swift
Davide 1942b82ebb
Rework App+Kit as monorepository (#1055)
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
2025-01-13 12:26:53 +01:00

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"]
)
]
)