-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
25 lines (23 loc) · 1.21 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
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Seagull",
products: [
.library(name: "Seagull", targets: ["Seagull"]),
.executable(name: "SeagullRestDemo", targets: ["SeagullRestDemo"]),
.executable(name: "SeagullPerfTest", targets: ["SeagullPerfTest"]),
],
dependencies: [
.package(url: "https://github.com/antitypical/Result.git", from: "4.0.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "1.9.5"),
.package(url: "https://github.com/gavrilaf/SwiftPerfTool.git", from: "0.1.1"),
.package(url: "https://github.com/gavrilaf/SgRouter.git", from: "0.1.0"),
],
targets: [
.target(name: "Seagull", dependencies: ["NIO", "NIOHTTP1", "NIOConcurrencyHelpers", "Result", "SgRouter"]),
.target(name: "SeagullRestDemo", dependencies: ["Seagull"], path: "Sources/Examples/SeagullRestDemo"),
.target(name: "SeagullPerfTest", dependencies: ["Seagull", "SwiftPerfTool"], path: "Sources/Examples/SeagullPerfTest"),
.testTarget(name: "SeagullTests", dependencies: ["Seagull"]),
]
)