-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add SwiftPM manifest and OS source guards (#102)
- Loading branch information
1 parent
a2886e9
commit 4a4d1fa
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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,20 @@ | ||
// swift-tools-version:5.0 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Device", | ||
platforms: [.iOS(.v9), .macOS(.v10_10)], | ||
products: [ | ||
.library( | ||
name: "Device", | ||
targets: ["Device"] | ||
) | ||
], | ||
targets: [ | ||
.target( | ||
name: "Device", | ||
path: "Source" | ||
) | ||
], | ||
swiftLanguageVersions: [.v4, .v4_2, .v5] | ||
) |