-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
46 lines (44 loc) · 1.26 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
46
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "site",
defaultLocalization: "en",
platforms: [
.macOS(.v15),
.iOS(.v18),
.tvOS(.v18),
],
products: [
.library(name: "Site", targets: ["Site"]),
.executable(name: "site_tool", targets: ["site_tool"]),
.executable(name: "site_associated_domains", targets: ["site_associated_domains"]),
.executable(name: "next_id", targets: ["next_id"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0")
],
targets: [
.target(
name: "Site",
resources: [.process("Resources/Localizable.xcstrings")]),
.testTarget(
name: "SiteTests", dependencies: ["Site"]),
.executableTarget(
name: "site_tool",
dependencies: [
.byName(name: "Site"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
.executableTarget(
name: "site_associated_domains",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser")
]),
.executableTarget(
name: "next_id",
dependencies: [
.byName(name: "Site"),
.product(name: "ArgumentParser", package: "swift-argument-parser"),
]),
]
)