-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
39 lines (36 loc) · 940 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
35
36
37
38
39
// swift-tools-version:5.1
import PackageDescription
let swiftSettings: [SwiftSetting]?
#if canImport(Foundation)
swiftSettings = nil
#else
swiftSettings = [.define("USE_FRB_UUID")]
#endif
let package = Package(
name: "FirebladeUUID",
platforms: [
.macOS(.v10_15),
.iOS(.v13),
.watchOS(.v6),
.tvOS(.v13),
],
products: [
.library(
name: "FirebladeUUID",
targets: ["FirebladeUUID"]
),
],
dependencies: [.package(url: "https://github.com/apple/swift-crypto.git", from: "2.5.0")],
targets: [
.target(
name: "FirebladeUUID",
dependencies: [.product(name: "Crypto", package: "swift-crypto")],
swiftSettings: swiftSettings
),
.testTarget(
name: "FirebladeUUIDTests",
dependencies: ["FirebladeUUID"]
),
],
swiftLanguageVersions: [.v5]
)