Skip to content

Commit

Permalink
Update Package.swift file (#543)
Browse files Browse the repository at this point in the history
cbaker6 authored Jan 28, 2021

Unverified

No user is associated with the committer email.
1 parent fa73a20 commit 7dfcdef
Showing 1 changed file with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// swift-tools-version:5.1
// swift-tools-version:5.3
import PackageDescription

let package = Package(
name: "CareKit",
defaultLocalization: "en",
platforms: [.iOS(.v13), .watchOS(.v6)],
products: [
.library(
@@ -28,34 +29,52 @@ let package = Package(
.target(
name: "CareKit",
dependencies: ["CareKitUI", "CareKitStore"],
path: "CareKit/CareKit"),
path: "CareKit/CareKit",
exclude: ["Info.plist"]),

.target(
name: "CareKitUI",
path: "CareKitUI/CareKitUI"),
path: "CareKitUI/CareKitUI",
exclude: ["Info.plist"]),

.target(
name: "CareKitStore",
path: "CareKitStore/CareKitStore"),
path: "CareKitStore/CareKitStore",
exclude: ["Info.plist"],
resources: [
.process("CoreData/Migrations/2.0_to_2.1/2.0_2.1_Mapping.xcmappingmodel")
]),

.target(
name: "CareKitFHIR",
dependencies: ["CareKitStore", "ModelsR4", "ModelsDSTU2"],
path: "CareKitFHIR/CareKitFHIR"),
dependencies: [
"CareKitStore",
.product(name: "ModelsR4", package: "FHIRModels"),
.product(name: "ModelsDSTU2", package: "FHIRModels")
],
path: "CareKitFHIR/CareKitFHIR",
exclude: ["Info.plist"]),

.testTarget(
name: "CareKitStoreTests",
dependencies: ["CareKitStore"],
path: "CareKitStore/CareKitStoreTests"),
path: "CareKitStore/CareKitStoreTests",
exclude: ["Info.plist", "CareKitStore.xctestplan"],
resources: [
.process("CoreDataSchema/Migrations")
]),

.testTarget(
name: "CareKitFHIRTests",
dependencies: ["CareKitFHIR"],
path: "CareKitFHIR/CareKitFHIRTests"),
path: "CareKitFHIR/CareKitFHIRTests",
exclude: ["Info.plist", "CareKitFHIR.xctestplan"]),

.testTarget(
name: "CareKitTests",
dependencies: ["CareKit"],
path: "CareKit/CareKitTests")
path: "CareKit/CareKitTests",
exclude: ["Info.plist"])
]
)

0 comments on commit 7dfcdef

Please sign in to comment.