-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
44 lines (40 loc) · 1.1 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
// swift-tools-version:5.5
//
// This source file is part of the Apodini Template 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: "ApodiniTemplate",
platforms: [
.macOS(.v11)
],
products: [
.executable(
name: "WebService",
targets: ["WebService"]
)
],
dependencies: [
.package(url: "https://github.com/Apodini/Apodini.git", .upToNextMinor(from: "0.9.1"))
],
targets: [
.executableTarget(
name: "WebService",
dependencies: [
.product(name: "Apodini", package: "Apodini"),
.product(name: "ApodiniREST", package: "Apodini"),
.product(name: "ApodiniOpenAPI", package: "Apodini")
]
),
.testTarget(
name: "WebServiceTests",
dependencies: [
.target(name: "WebService")
]
)
]
)