]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commitdiff
WireGuardKit: Add wireguard-go files to exclude list to eliminate SwiftPM warnings
authorAndrej Mihajlov <and@mullvad.net>
Wed, 2 Dec 2020 12:06:36 +0000 (13:06 +0100)
committerAndrej Mihajlov <and@mullvad.net>
Thu, 3 Dec 2020 12:32:25 +0000 (13:32 +0100)
Signed-off-by: Andrej Mihajlov <and@mullvad.net>
Package.swift

index b414377cccca1078dd798d65eb71ef036a3a0c88..c51add673a0b46a8af13103b382a55c8347bf19e 100644 (file)
@@ -26,6 +26,13 @@ let package = Package(
         .target(
             name: "WireGuardKitGo",
             dependencies: [],
+            exclude: [
+                "goruntime-boottime-over-monotonic.diff",
+                "go.mod",
+                "go.sum",
+                "api-ios.go",
+                "Makefile"
+            ],
             publicHeadersPath: ".",
             linkerSettings: [.linkedLibrary("wg-go")]
         )