-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
aa956a8
commit f3e746c
Showing
8 changed files
with
75 additions
and
57 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
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,16 +1,28 @@ | ||
// swift-tools-version:5.0 | ||
// swift-tools-version: 5.8 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "WindowTreatment", | ||
platforms: [.macOS("10.11")], | ||
products: [ | ||
.library(name: "WindowTreatment", targets: ["WindowTreatment"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target(name: "WindowTreatment", dependencies: []), | ||
.testTarget(name: "WindowTreatmentTests", dependencies: ["WindowTreatment"]), | ||
] | ||
name: "WindowTreatment", | ||
platforms: [ | ||
.macOS(.v10_13), | ||
], | ||
products: [ | ||
.library(name: "WindowTreatment", targets: ["WindowTreatment"]), | ||
], | ||
dependencies: [], | ||
targets: [ | ||
.target(name: "WindowTreatment", dependencies: []), | ||
.testTarget(name: "WindowTreatmentTests", dependencies: ["WindowTreatment"]), | ||
] | ||
) | ||
|
||
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
1 change: 1 addition & 0 deletions
1
Sources/WindowTreatment/Modifiers/WindowStateObservingModifier.swift
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