-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
53 lines (51 loc) · 2.43 KB
/
Package.swift
File metadata and controls
53 lines (51 loc) · 2.43 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// swift-tools-version:5.6
import PackageDescription
let package = Package(
name: "github-projects-webhook-receiver",
platforms: [
.macOS(.v12),
],
products: [
.executable(
name: "GithubProjectsWebhookReceiver",
targets: ["GithubProjectsWebhookReceiver"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto", from: "2.1.0"),
.package(url: "https://github.com/swift-server/async-http-client", from: "1.11.0"),
// This is a temporary solution until [the corresponding pull request](https://github.com/swift-server/swift-aws-lambda-events/pull/21) gets upstreamed.
.package(url: "https://github.com/MPLew-is/swift-aws-lambda-events", branch: "function-url"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime", revision: "cb340de265665e23984b1f5de3ac4d413a337804"),
.package(url: "https://github.com/awslabs/aws-sdk-swift", from: "0.2.5"),
.package(url: "https://github.com/attaswift/BigInt", from: "5.3.0"),
.package(url: "https://github.com/MPLew-is/deep-codable", branch: "main"),
.package(url: "https://github.com/MPLew-is/github-graphql-client", branch: "main"),
.package(url: "https://github.com/MPLew-is/slack-message-client", branch: "main"),
],
targets: [
.executableTarget(
name: "GithubProjectsWebhookReceiver",
dependencies: [
.product(name: "AsyncHTTPClient", package: "async-http-client"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSDynamoDB", package: "aws-sdk-swift"),
.product(name: "AWSSecretsManager", package: "aws-sdk-swift"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "DeepCodable", package: "deep-codable"),
.product(name: "GithubApiClient", package: "github-graphql-client"),
.product(name: "GithubGraphqlQueryable", package: "github-graphql-client"),
.product(name: "BlockKitMessage", package: "slack-message-client"),
.product(name: "SlackMessageClient", package: "slack-message-client"),
]
),
.executableTarget(
name: "GenerateHmacSecret",
dependencies: [
.product(name: "BigInt", package: "BigInt"),
]
),
]
)