-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
35 lines (32 loc) · 886 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// swift-tools-version: 5.6
import PackageDescription
let package = Package(
name: "memcache-swift",
products: [
.library(name: "Memcache", targets: ["Memcache"]),
.executable(name: "memcache-swift-example", targets: ["memcache-swift-example"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", from: "2.40.0")
],
targets: [
.target(
name: "Memcache",
dependencies: [
.product(name: "NIO", package: "swift-nio")
]
),
.testTarget(
name: "MemcacheTests",
dependencies: [
.target(name: "Memcache")
]
),
.executableTarget(
name: "memcache-swift-example",
dependencies: [
.target(name: "Memcache")
]
)
]
)