-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
34 lines (33 loc) · 1.08 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
// swift-tools-version:5.8
import PackageDescription
let package = Package(
name: "universal-swift",
platforms: [
.macOS(.v12)
],
products: [
.executable(name: "universalswiftctl", targets: ["SiteCTL"])
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.0"),
.package(url: "https://github.com/JohnSundell/Publish.git", from: "0.7.0"),
.package(url: "https://github.com/JohnSundell/SplashPublishPlugin.git", from: "0.1.0")
],
targets: [
.executableTarget(
name: "SiteCTL",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Publish", package: "Publish"),
.product(name: "SplashPublishPlugin", package: "SplashPublishPlugin"),
.target(name: "Site")
]
),
.target(
name: "Site",
dependencies: [
.product(name: "Publish", package: "Publish")
]
)
]
)