defined punchnet

This commit is contained in:
anlicheng 2025-07-16 16:13:17 +08:00
parent ba09f38c40
commit 2880b313d7

View File

@ -12,8 +12,8 @@ let package = Package(
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "sdlan",
targets: ["sdlan"]),
name: "Punchnet",
targets: ["Punchnet"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.84.0"),
@ -24,7 +24,7 @@ let package = Package(
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "sdlan",
name: "Punchnet",
dependencies: [
.product(name: "NIOCore", package: "swift-nio"),
.product(name: "NIOPosix", package: "swift-nio"),