From 8eea84ec6144167354387ef9244b0939f5852dc8 Mon Sep 17 00:00:00 2001 From: Fabian Fett Date: Fri, 22 Apr 2022 08:57:02 +0200 Subject: [PATCH] Fix warnings, that appeared after requiring Swift 5.4 (#159) --- Package.swift | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Package.swift b/Package.swift index d49419fc..66ef39d0 100644 --- a/Package.swift +++ b/Package.swift @@ -30,7 +30,7 @@ var targets: [PackageDescription.Target] = [ .product(name: "NIOCore", package: "swift-nio"), .product(name: "NIOHTTP1", package: "swift-nio"), ]), - .target( + .executableTarget( name: "HTTPServerWithQuiescingDemo", dependencies: [ "NIOExtras", @@ -38,7 +38,7 @@ var targets: [PackageDescription.Target] = [ .product(name: "NIOPosix", package: "swift-nio"), .product(name: "NIOHTTP1", package: "swift-nio"), ]), - .target( + .executableTarget( name: "NIOWritePCAPDemo", dependencies: [ "NIOExtras", @@ -46,7 +46,7 @@ var targets: [PackageDescription.Target] = [ .product(name: "NIOPosix", package: "swift-nio"), .product(name: "NIOHTTP1", package: "swift-nio"), ]), - .target( + .executableTarget( name: "NIOWritePartialPCAPDemo", dependencies: [ "NIOExtras", @@ -54,7 +54,7 @@ var targets: [PackageDescription.Target] = [ .product(name: "NIOPosix", package: "swift-nio"), .product(name: "NIOHTTP1", package: "swift-nio"), ]), - .target( + .executableTarget( name: "NIOExtrasPerformanceTester", dependencies: [ "NIOExtras", @@ -69,7 +69,7 @@ var targets: [PackageDescription.Target] = [ .product(name: "NIO", package: "swift-nio"), .product(name: "NIOCore", package: "swift-nio"), ]), - .target( + .executableTarget( name: "NIOSOCKSClient", dependencies: [ .product(name: "NIOCore", package: "swift-nio"),