From 7d639e5111b38d2dde017ec73d9814cd856d7d47 Mon Sep 17 00:00:00 2001 From: Cory Benfield Date: Mon, 17 Oct 2022 17:35:34 +0100 Subject: [PATCH] Revert "Fix HelloWorld Samples (#1505)" This reverts commit 4915076adf40d907559b8464511769a66f85980b. --- .../HelloWorld/Client/{helloworldclient.swift => main.swift} | 1 - .../HelloWorld/Server/{HelloWorldServer.swift => main.swift} | 1 - 2 files changed, 2 deletions(-) rename Sources/Examples/HelloWorld/Client/{helloworldclient.swift => main.swift} (99%) rename Sources/Examples/HelloWorld/Server/{HelloWorldServer.swift => main.swift} (99%) diff --git a/Sources/Examples/HelloWorld/Client/helloworldclient.swift b/Sources/Examples/HelloWorld/Client/main.swift similarity index 99% rename from Sources/Examples/HelloWorld/Client/helloworldclient.swift rename to Sources/Examples/HelloWorld/Client/main.swift index 62c0091f0..0849f7c66 100644 --- a/Sources/Examples/HelloWorld/Client/helloworldclient.swift +++ b/Sources/Examples/HelloWorld/Client/main.swift @@ -20,7 +20,6 @@ import HelloWorldModel import NIOCore import NIOPosix -@main @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) struct HelloWorld: AsyncParsableCommand { @Option(help: "The port to connect to") diff --git a/Sources/Examples/HelloWorld/Server/HelloWorldServer.swift b/Sources/Examples/HelloWorld/Server/main.swift similarity index 99% rename from Sources/Examples/HelloWorld/Server/HelloWorldServer.swift rename to Sources/Examples/HelloWorld/Server/main.swift index 3c0e17c26..9b22dfdc6 100644 --- a/Sources/Examples/HelloWorld/Server/HelloWorldServer.swift +++ b/Sources/Examples/HelloWorld/Server/main.swift @@ -20,7 +20,6 @@ import HelloWorldModel import NIOCore import NIOPosix -@main @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *) struct HelloWorld: AsyncParsableCommand { @Option(help: "The port to listen on for new connections")