-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (30 loc) · 923 Bytes
/
Package.swift
File metadata and controls
31 lines (30 loc) · 923 Bytes
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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "Insomnia",
platforms: [
.macOS(.v13)
],
products: [
.executable(name: "Insomnia", targets: ["Insomnia"]),
.library(name: "InsomniaCore", targets: ["InsomniaCore"])
],
targets: [
.target(
name: "InsomniaCore",
path: "insomnia",
exclude: ["InsomniaApp.swift", "UpdateChecker.swift", "Info.plist", "insomnia.entitlements", "Assets.xcassets"]
),
.executableTarget(
name: "Insomnia",
dependencies: ["InsomniaCore"],
path: "insomnia",
exclude: ["SleepManager.swift", "Info.plist", "insomnia.entitlements"],
resources: [.process("Assets.xcassets")]
),
.testTarget(
name: "InsomniaTests",
dependencies: ["InsomniaCore"]
)
]
)