This repository has been archived by the owner on Apr 13, 2022. It is now read-only.
generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
75 lines (70 loc) · 2.16 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// swift-tools-version:5.5
//
// This source file is part of the Apodini open source project
//
// SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
//
// SPDX-License-Identifier: MIT
//
import PackageDescription
let package = Package(
name: "ApodiniHelloWorld",
platforms: [
.macOS(.v12)
],
products: [
.executable(name: "ApodiniHelloWorld", targets: ["ApodiniHelloWorld"])
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.6.2")),
.package(url: "https://github.com/grpc/grpc-swift.git", .exact("1.6.0-async-await.1"))
],
targets: [
.executableTarget(
name: "ApodiniHelloWorld",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniGRPC", package: "Apodini"),
.product(name: "ApodiniREST", package: "Apodini"),
.product(name: "ApodiniOpenAPI", package: "Apodini"),
.product(name: "ApodiniMigration", package: "Apodini")
],
resources: [
.process("cert")
]
),
.executableTarget(
name: "HelloWorldClient",
dependencies: [
.product(name: "GRPC", package: "grpc-swift"),
.target(name: "_PB_FACADE"),
.target(name: "_GRPC_FACADE")
]
),
.target(
name: "_PB_GENERATED",
dependencies: [
.product(name: "GRPC", package: "grpc-swift")
]
),
.target(
name: "_PB_FACADE",
dependencies: [
.target(name: "_PB_GENERATED")
]
),
.target(
name: "_GRPC_GENERATED",
dependencies: [
.product(name: "GRPC", package: "grpc-swift"),
.target(name: "_PB_FACADE"),
]
),
.target(
name: "_GRPC_FACADE",
dependencies: [
.target(name: "_GRPC_GENERATED")
]
)
]
)