-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathPackage.swift
30 lines (29 loc) · 942 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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "GraphQL",
products: [
.library(name: "GraphQL", targets: ["GraphQL"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-nio.git", .upToNextMajor(from: "2.10.1")),
.package(url: "https://github.com/apple/swift-collections", .upToNextMajor(from: "1.0.0")),
],
targets: [
.target(
name: "GraphQL",
dependencies: [
.product(name: "NIO", package: "swift-nio"),
.product(name: "OrderedCollections", package: "swift-collections"),
]
),
.testTarget(
name: "GraphQLTests",
dependencies: ["GraphQL"],
resources: [
.copy("LanguageTests/kitchen-sink.graphql"),
.copy("LanguageTests/schema-kitchen-sink.graphql"),
]
),
]
)