-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
28 lines (26 loc) · 1.37 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
// swift-tools-version: 5.7
import PackageDescription
let package = Package(name: "TrackerLib",
platforms: [.macOS(.v13), .iOS(.v16), .watchOS(.v9)],
products: [
.library(name: "TrackerLib",
targets: ["TrackerLib"]),
],
dependencies: [
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.4"),
.package(url: "https://github.com/weichsel/ZIPFoundation.git", from: "0.9.9"),
],
targets: [
.target(name: "TrackerLib",
dependencies: [
.product(name: "Collections", package: "swift-collections"),
.product(name: "ZIPFoundation", package: "ZIPFoundation"),
],
path: "Sources",
resources: [
.process("Resources"),
]),
.testTarget(name: "TrackerLibTests",
dependencies: ["TrackerLib"],
path: "Tests"),
])