-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathPackage.swift
More file actions
37 lines (36 loc) · 775 Bytes
/
Package.swift
File metadata and controls
37 lines (36 loc) · 775 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
32
33
34
35
36
37
// swift-tools-version: 6.2
import PackageDescription
let package = Package(
name: "FileType",
platforms: [
.macOS(.v11),
.iOS(.v14),
.tvOS(.v14),
.watchOS(.v7),
.visionOS(.v1),
],
products: [
.library(
name: "FileType",
targets: ["FileType"]
)
],
targets: [
.systemLibrary(
name: "CZlib",
providers: [
.apt(["zlib1g-dev"]),
.brew(["zlib"]),
]
),
.target(
name: "FileType",
dependencies: ["CZlib"]
),
.testTarget(
name: "FileTypeTests",
dependencies: ["FileType"]
),
],
swiftLanguageModes: [.v6]
)