forked from StevenLambion/GraphQLRouteCollection
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (35 loc) · 1.11 KB
/
Copy pathPackage.swift
File metadata and controls
37 lines (35 loc) · 1.11 KB
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
36
37
// swift-tools-version:5.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "VaporGraphQL",
products: [
.library(
name: "VaporGraphQL",
targets: ["VaporGraphQL"]),
.library(
name: "StarWars",
targets: ["StarWars"]),
.executable(
name: "Example",
targets: ["Example"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "3.3.0")),
.package(url: "https://github.com/noahemmet/GraphQL.git", .branch("swift5-1")),
],
targets: [
.target(
name: "VaporGraphQL",
dependencies: ["Vapor", "GraphQL"]),
.target(
name: "StarWars",
dependencies: ["Vapor", "GraphQL"]),
.target(
name: "Example",
dependencies: ["VaporGraphQL", "StarWars", "Vapor", "GraphQL"]),
.testTarget(
name: "VaporGraphQLTests",
dependencies: ["VaporGraphQL", "StarWars"]),
]
)