-
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) · 1 KB
/
Copy pathPackage.swift
File metadata and controls
31 lines (30 loc) · 1 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
// swift-tools-version: 6.0
import PackageDescription
// BidLab is built entirely with SwiftPM so it needs no full Xcode install.
// `BidLabCore` is a pure, UI-free, fully tested library (the math-centric core).
// `BidLab` is the SwiftUI macOS app executable. A bundling script assembles the
// executable + Info.plist into a real `BidLab.app`.
let package = Package(
name: "BidLab",
platforms: [.macOS(.v14)],
products: [
.library(name: "BidLabCore", targets: ["BidLabCore"]),
.executable(name: "BidLab", targets: ["BidLab"]),
],
targets: [
.target(
name: "BidLabCore",
swiftSettings: [.swiftLanguageMode(.v5)]
),
.executableTarget(
name: "BidLab",
dependencies: ["BidLabCore"],
swiftSettings: [.swiftLanguageMode(.v5)]
),
.testTarget(
name: "BidLabCoreTests",
dependencies: ["BidLabCore"],
swiftSettings: [.swiftLanguageMode(.v5)]
),
]
)