generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
53 lines (48 loc) · 1.42 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
// swift-tools-version:5.5
//
// This source file is part of the Apodini open source project
//
// SPDX-FileCopyrightText: 2019-2021 Paul Schmiedmayer and the Apodini project authors (see CONTRIBUTORS.md) <[email protected]>
//
// SPDX-License-Identifier: MIT
//
import PackageDescription
private let dependencies: [Target.Dependency] = [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniREST", package: "Apodini"),
.product(name: "ApodiniGRPC", package: "Apodini"),
.product(name: "ApodiniMigration", package: "Apodini"),
.target(name: "Shared")
]
let package = Package(
name: "ApodiniMigratorExample",
platforms: [
.macOS(.v11)
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.9.1"))
],
targets: [
.executableTarget(
name: "QONECTIQV1",
dependencies: dependencies,
resources: [
.process("Resources")
]
),
.executableTarget(
name: "QONECTIQV2",
dependencies: dependencies,
resources: [
.process("Resources")
]
),
.target(
name: "Shared",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniMigration", package: "Apodini")
]
)
]
)