-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
42 lines (39 loc) · 1.43 KB
/
Package.swift
File metadata and controls
42 lines (39 loc) · 1.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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "Oliva",
products: [
.library(name: "Oliva", targets: ["OlivaDomain"]),
.library(name: "SimulationLeagueSiteGenerator", targets: ["SimulationLeagueSiteGenerator"]),
.executable(name: "LeagueResultsSite", targets: ["LeagueResultsSite"])
],
dependencies: [
.package(url: "https://github.com/JohnSundell/Plot.git", .upToNextMajor(from: "0.7.0")),
.package(url: "https://github.com/johnsundell/Publish.git", .upToNextMajor(from: "0.1.0")),
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMajor(from: "1.0.1")),
],
targets: [
.target(
name: "LeagueResultsSite",
dependencies: [
"OlivaDomain",
"SimulationLeagueSiteGenerator",
.product(name: "Plot", package: "Plot"),
.product(name: "Publish", package: "Publish"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]
),
.target(
name: "OlivaDomain",
dependencies: []
),
.target(
name: "SimulationLeagueSiteGenerator",
dependencies: [
"OlivaDomain",
.product(name: "Plot", package: "Plot"),
.product(name: "Publish", package: "Publish"),
]
)
]
)