-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
45 lines (43 loc) · 1.35 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
// swift-tools-version: 6.0
import PackageDescription
let package: Package = Package(name: "Downer", platforms: [
.macOS(.v14),
.iOS(.v17),
.watchOS(.v10),
.visionOS(.v1),
.tvOS(.v17)
], products: [
.executable(name: "downer-cli", targets: [
"DownerCLI"
]),
.library(name: "DownerUI", targets: [
"DownerUI"
]),
.library(name: "Downer", targets: [
"Downer"
])
], dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", branch: "main"),
.package(url: "https://github.com/apple/swift-markdown", branch: "main")
], targets: [
.executableTarget(name: "DownerCLI", dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
"DownerUI",
"Downer"
]),
.target(name: "DownerUI", dependencies: [
"Downer"
], resources: [
.process("Assets.xcassets")
]),
.testTarget(name: "DownerUITests", dependencies: [
"DownerUI",
"Downer"
]),
.target(name: "Downer", dependencies: [
.product(name: "Markdown", package: "swift-markdown")
]),
.testTarget(name: "DownerTests", dependencies: [
"Downer"
])
])