-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update for Swift package manager (#27)
- Loading branch information
1 parent
3628b19
commit 626ffd1
Showing
9 changed files
with
64 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
Changelog | ||
========= | ||
|
||
## 4.2 | ||
|
||
- Update Swift 5.0 package manifest. | ||
|
||
## 4.1 | ||
|
||
- Update to Swift 5.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,36 @@ | ||
// swift-tools-version:5.0 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
// | ||
// Package.swift | ||
// SwiftFHIR | ||
// | ||
// Created by Pascal Pfiffner on 12/10/15. | ||
// 2015, SMART Platforms. | ||
// Modified by Dave Carlson on 8/6/2019. | ||
// | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SwiftFHIR", | ||
targets: [ | ||
Target(name: "Models"), | ||
Target(name: "Client", dependencies: [.Target(name: "Models")]), | ||
] | ||
name: "FHIR", | ||
platforms: [ | ||
.macOS(.v10_13), .iOS(.v11) | ||
], | ||
products: [ | ||
.library( | ||
name: "FHIR", | ||
targets: ["FHIR"]), | ||
], | ||
targets: [ | ||
.target( | ||
name: "FHIR", | ||
dependencies: ["Models", "Client"]), | ||
.target( | ||
name: "Models", | ||
dependencies: []), | ||
.target( | ||
name: "Client", | ||
dependencies: ["Models"]), | ||
|
||
// Test targets not supported until Swift Packages include resource bundles. | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// | ||
// SwiftFHIR.swift | ||
// SwiftFHIR | ||
// | ||
// Created by Dave Carlson on 8/7/19. | ||
// Copyright © 2019 SMART Health IT. All rights reserved. | ||
// | ||
|
||
@_exported import Models | ||
@_exported import Client |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters