-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
33 lines (31 loc) · 1.33 KB
/
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
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "CreateGameSession",
platforms: [.macOS(.v12)],
dependencies: [
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime", .upToNextMajor(from: "0.5.2")),
.package(url: "https://github.com/maniramezan/Grallistrix", branch: "main"),
.package(url: "https://github.com/apple/swift-async-algorithms", .upToNextMajor(from: "0.0.4")),
],
targets: [
.executableTarget(
name: "CreateGameSession",
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "Grallistrix", package: "Grallistrix"),
.target(name: "GraphQLClient"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-runtime"),
]),
.target(
name: "GraphQLClient",
dependencies: [
.product(name: "Grallistrix", package: "Grallistrix"),
.product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
]),
.testTarget(
name: "CreateGameSessionTests",
dependencies: ["CreateGameSession"]),
]
)