-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
Package.swift
44 lines (40 loc) · 1.27 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
// swift-tools-version:5.9
// The swift-tools-version declares the minimum version
// of Swift required to build this package.
// ----------------------------------------------------
//
// Created by Jesse Squires
// https://www.jessesquires.com
//
// Documentation
// https://jessesquires.github.io/JSQCoreDataKit
//
// GitHub
// https://github.com/jessesquires/JSQCoreDataKit
//
// Copyright © 2020-present Jesse Squires
//
import PackageDescription
let package = Package(
name: "JSQCoreDataKit",
platforms: [
.iOS(.v14),
.tvOS(.v14),
.watchOS(.v6),
.macOS(.v10_14)
],
products: [
.library(name: "JSQCoreDataKit", targets: ["JSQCoreDataKit"])
],
targets: [
.target(name: "JSQCoreDataKit", path: "Sources")
// Unfortunately, we cannot include tests right now.
// The test target depends on a fixture project, `ExampleModel`.
// There is not a great way to model that in SwiftPM.
// We do not want to include `ExampleModel` in our package.
// However, this is not that bad.
// We still run tests via the main Xcode project.
// .testTarget(name: "JSQCoreDataKitTests", dependencies: ["JSQCoreDataKit"], path: "Tests")
],
swiftLanguageVersions: [.v5]
)