-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
56 lines (53 loc) · 1.82 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
47
48
49
50
51
52
53
54
55
56
// swift-tools-version:5.10
import PackageDescription
let swiftSettings: [SwiftSetting] = [
.enableExperimentalFeature("StrictConcurrency"), // 5.10
.enableUpcomingFeature("StrictConcurrency"), // 6.0
]
let package = Package(
name: "mvt-tools",
platforms: [
.iOS(.v13),
.macOS(.v13),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.executable(
name: "mvt",
targets: ["MVTCLI"]),
.library(
name: "MVTTools",
targets: ["MVTTools"]),
],
dependencies: [
.package(url: "https://github.com/Outdooractive/gis-tools", from: "1.8.4"),
.package(url: "https://github.com/1024jp/GzipSwift.git", from: "5.2.0"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.5.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.6.1"),
.package(url: "https://github.com/apple/swift-protobuf", from: "1.26.1"),
],
targets: [
.executableTarget(
name: "MVTCLI",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.target(name: "MVTTools"),
],
swiftSettings: swiftSettings),
.target(
name: "MVTTools",
dependencies: [
.product(name: "GISTools", package: "gis-tools"),
.product(name: "Gzip", package: "GzipSwift"),
.product(name: "Logging", package: "swift-log"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
],
swiftSettings: swiftSettings),
.testTarget(
name: "MVTToolsTests",
dependencies: ["MVTTools"],
exclude: ["TestData"],
swiftSettings: swiftSettings),
]
)