-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9481f6b
commit 2d5c5c2
Showing
6 changed files
with
29 additions
and
278 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 |
---|---|---|
@@ -1,23 +1,43 @@ | ||
// swift-tools-version:5.5 | ||
// swift-tools-version: 5.9 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "Meter", | ||
platforms: [.macOS(.v10_13), .iOS(.v12), .tvOS(.v12), .watchOS(.v3)], | ||
platforms: [ | ||
.macOS(.v10_13), | ||
.iOS(.v12), | ||
.tvOS(.v12), | ||
.watchOS(.v4), | ||
.visionOS(.v1), | ||
], | ||
products: [ | ||
.library(name: "Meter", targets: ["Meter"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target(name: "BinaryImage", publicHeadersPath: "."), | ||
.target(name: "Meter", dependencies: ["BinaryImage"]), | ||
.testTarget(name: "MeterTests", | ||
dependencies: ["Meter"], | ||
resources: [ | ||
.copy("Resources"), | ||
]), | ||
.testTarget(name: "BinaryImageTests", | ||
dependencies: ["BinaryImage"]), | ||
.testTarget( | ||
name: "MeterTests", | ||
dependencies: ["Meter"], | ||
resources: [ | ||
.copy("Resources"), | ||
] | ||
), | ||
.testTarget( | ||
name: "BinaryImageTests", | ||
dependencies: ["BinaryImage"] | ||
), | ||
] | ||
) | ||
|
||
let swiftSettings: [SwiftSetting] = [ | ||
.enableExperimentalFeature("StrictConcurrency") | ||
] | ||
|
||
for target in package.targets { | ||
var settings = target.swiftSettings ?? [] | ||
settings.append(contentsOf: swiftSettings) | ||
target.swiftSettings = settings | ||
} |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.