-
Notifications
You must be signed in to change notification settings - Fork 32
/
Package.swift
41 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "FHIRModels",
platforms: [
.macOS(.v10_13),
.iOS(.v11),
.watchOS(.v4),
.tvOS(.v11),
],
products: [
.library(name: "ModelsDSTU2", targets: ["ModelsDSTU2"]),
.library(name: "ModelsSTU3", targets: ["ModelsSTU3"]),
.library(name: "ModelsR4", targets: ["ModelsR4"]),
.library(name: "ModelsR4B", targets: ["ModelsR4B"]),
.library(name: "ModelsR5", targets: ["ModelsR5"]),
.library(name: "ModelsBuild", targets: ["ModelsBuild"]),
],
targets: [
.target(name: "FMCore"),
.target(name: "ModelsDSTU2", dependencies: ["FMCore"]),
.target(name: "ModelsSTU3", dependencies: ["FMCore"]),
.target(name: "ModelsR4", dependencies: ["FMCore"]),
.target(name: "ModelsR4B", dependencies: ["FMCore"]),
.target(name: "ModelsR5", dependencies: ["FMCore"]),
.target(name: "ModelsBuild", dependencies: ["FMCore"]),
.testTarget(name: "CoreTests", dependencies: ["FMCore"]),
.testTarget(name: "DateTimeTests", dependencies: ["ModelsR5"]),
.testTarget(name: "ModelTests",
dependencies: [
"ModelsDSTU2",
"ModelsSTU3",
"ModelsR4",
"ModelsR4B",
"ModelsR5",
"ModelsBuild",
]),
.testTarget(name: "PrimitiveTests", dependencies: ["ModelsR4"]),
]
)