-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
71 lines (69 loc) · 2.55 KB
/
Package.swift
File metadata and controls
71 lines (69 loc) · 2.55 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "Maverick",
platforms: [
.macOS(.v15), .iOS(.v18),
],
products: [
.executable(name: "Maverick", targets: ["Maverick"]),
.library(name: "MaverickModels", targets: ["MaverickModels"]),
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.121.0"),
.package(url: "https://github.com/vapor/multipart-kit.git", from: "4.7.0"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.5.1"),
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.1"),
.package(url: "https://github.com/jpsim/Yams.git", from: "6.2.0"),
.package(url: "https://github.com/swiftlang/swift-markdown", from: "0.7.3"),
.package(url: "https://github.com/jsorge/textbundleify.git", branch: "master"),
.package(url: "https://github.com/JohnSundell/ShellOut.git", from: "2.2.0"),
],
targets: [
.target(
name: "Micropub",
dependencies: [
"PathKit",
.product(name: "Vapor", package: "vapor"),
]
),
.target(
name: "MaverickLib",
dependencies: [
.product(name: "Leaf", package: "leaf"),
"MaverickModels",
"Micropub",
"ShellOut",
.product(name: "Markdown", package: "swift-markdown"),
.product(name: "TextBundleify", package: "textbundleify"),
"PathKit",
.product(name: "Vapor", package: "vapor"),
"Yams",
// unused in the target but needed to let the dependency be pinned for Sendable-related
// reasons. The version attached to Vapor has Swift 6 build errors, but the one in the
// package dependencies does not. Hopefully this can go away at some point.
.product(name: "MultipartKit", package: "multipart-kit"),
]
),
.executableTarget(
name: "Maverick",
dependencies: [
"MaverickLib"
]
),
.target(
name: "MaverickModels",
dependencies: [
"PathKit",
]
),
.testTarget(
name: "MaverickLibTests",
dependencies: [
"MaverickLib",
"PathKit",
.product(name: "TextBundleify", package: "textbundleify"),
]
),
]
)