Sfoglia il codice sorgente

Executable targets should use executableTarget (#1406)

George Barnett 3 anni fa
parent
commit
55f2608709
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Package.swift

+ 1 - 1
Package.swift

@@ -309,7 +309,7 @@ extension Target {
     path: "Sources/Examples/Echo/Runtime"
   )
 
-  static let echoAsync: Target = .target(
+  static let echoAsync: Target = .executableTarget(
     name: "AsyncAwaitEcho",
     dependencies: [
       .grpc,