-
Notifications
You must be signed in to change notification settings - Fork 12
/
Package.swift
34 lines (31 loc) · 1008 Bytes
/
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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "ConfigCat",
platforms: [
.iOS(.v12),
.watchOS(.v4),
.tvOS(.v12),
.macOS(.v10_13)
],
products: [
.library(name: "ConfigCat", targets: ["ConfigCat"])
],
targets: [
.target(name: "Version",
exclude: ["LICENSE" , "version.txt"]),
.target(name: "ConfigCat",
dependencies: ["Version"],
exclude: ["Resources/ConfigCat.h", "Resources/Info.plist"],
resources: [.copy("Resources/PrivacyInfo.xcprivacy")],
swiftSettings: [
.define("DEBUG", .when(configuration: .debug))
]),
.testTarget(name: "ConfigCatTests",
dependencies: ["ConfigCat"],
exclude: ["Resources/Info.plist"],
resources: [.process("Resources")]
)
],
swiftLanguageVersions: [.v5]
)