-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPackage.swift
More file actions
31 lines (28 loc) · 844 Bytes
/
Copy pathPackage.swift
File metadata and controls
31 lines (28 loc) · 844 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
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let packageName = "Basement"
let targetName = packageName
let package = Package(
name: packageName,
platforms: [.iOS(.v11), .macOS(.v11), .tvOS(.v11), .watchOS(.v2)],
products: [
.library(
name: packageName,
targets: [targetName]),
],
dependencies: [
.package(name: "Realm", url: "https://github.com/realm/realm-cocoa.git", from: "10.15.0")
],
targets: [
.target(
name: targetName,
dependencies: [
.product(name: "RealmSwift", package: "Realm")
]
),
.testTarget(
name: "BasementTests",
dependencies: ["Basement"]),
]
)