From 0a8fba50c67ac0dc31589e7d57f53ac2a349f9d5 Mon Sep 17 00:00:00 2001 From: Oliver Jones Date: Tue, 8 Feb 2022 20:08:35 +1000 Subject: [PATCH 1/2] Remove errant license header comment Only the Lock.swift file came from SwiftNIO. --- Sources/Depends/Dependency.swift | 2 -- Sources/Depends/DependencyBase.swift | 2 -- Sources/Depends/DependencyKey.swift | 2 -- Sources/Depends/DependencyProvider.swift | 2 -- Sources/Depends/DependencyRegistry+Combine.swift | 2 -- Sources/Depends/DependencyRegistry.swift | 2 -- Sources/Depends/DependencyRegistryBuilder.swift | 2 -- Sources/Depends/KeyedDependency.swift | 2 -- Sources/Depends/ViewDependency.swift | 2 -- Sources/TestDepends/BaseTestCase.swift | 2 -- Sources/TestDepends/TestDependency.swift | 2 -- Tests/DependsTests/DependencyRegistryTests.swift | 2 -- 12 files changed, 24 deletions(-) diff --git a/Sources/Depends/Dependency.swift b/Sources/Depends/Dependency.swift index a90ebca..c3accf5 100644 --- a/Sources/Depends/Dependency.swift +++ b/Sources/Depends/Dependency.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyBase.swift b/Sources/Depends/DependencyBase.swift index ac804b9..032eac9 100644 --- a/Sources/Depends/DependencyBase.swift +++ b/Sources/Depends/DependencyBase.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyKey.swift b/Sources/Depends/DependencyKey.swift index 3e95be8..282a173 100644 --- a/Sources/Depends/DependencyKey.swift +++ b/Sources/Depends/DependencyKey.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyProvider.swift b/Sources/Depends/DependencyProvider.swift index ff3a586..2d23c7c 100644 --- a/Sources/Depends/DependencyProvider.swift +++ b/Sources/Depends/DependencyProvider.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyRegistry+Combine.swift b/Sources/Depends/DependencyRegistry+Combine.swift index 1a0e914..d079f34 100644 --- a/Sources/Depends/DependencyRegistry+Combine.swift +++ b/Sources/Depends/DependencyRegistry+Combine.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyRegistry.swift b/Sources/Depends/DependencyRegistry.swift index 0ec17f1..d5e8657 100644 --- a/Sources/Depends/DependencyRegistry.swift +++ b/Sources/Depends/DependencyRegistry.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/DependencyRegistryBuilder.swift b/Sources/Depends/DependencyRegistryBuilder.swift index 8f1e8e8..8ad0cfa 100644 --- a/Sources/Depends/DependencyRegistryBuilder.swift +++ b/Sources/Depends/DependencyRegistryBuilder.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/KeyedDependency.swift b/Sources/Depends/KeyedDependency.swift index 9340094..4229ac4 100644 --- a/Sources/Depends/KeyedDependency.swift +++ b/Sources/Depends/KeyedDependency.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/Depends/ViewDependency.swift b/Sources/Depends/ViewDependency.swift index a7dde96..f10c99b 100644 --- a/Sources/Depends/ViewDependency.swift +++ b/Sources/Depends/ViewDependency.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/TestDepends/BaseTestCase.swift b/Sources/TestDepends/BaseTestCase.swift index 2310075..600e0e3 100644 --- a/Sources/TestDepends/BaseTestCase.swift +++ b/Sources/TestDepends/BaseTestCase.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Sources/TestDepends/TestDependency.swift b/Sources/TestDepends/TestDependency.swift index a7a9928..f2cdda1 100644 --- a/Sources/TestDepends/TestDependency.swift +++ b/Sources/TestDepends/TestDependency.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // diff --git a/Tests/DependsTests/DependencyRegistryTests.swift b/Tests/DependsTests/DependencyRegistryTests.swift index 7f20cc3..494f24e 100644 --- a/Tests/DependsTests/DependencyRegistryTests.swift +++ b/Tests/DependsTests/DependencyRegistryTests.swift @@ -1,7 +1,5 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the SwiftNIO open source project -// // Copyright (c) 2021 Unsigned Apps // Licensed under MIT License // From 810c8c8a03dabaeb675812b5f5241751f4fa74ee Mon Sep 17 00:00:00 2001 From: Oliver Jones Date: Tue, 8 Feb 2022 20:09:01 +1000 Subject: [PATCH 2/2] Add minimum supported platforms --- Package.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Package.swift b/Package.swift index ab93160..aba8ce1 100644 --- a/Package.swift +++ b/Package.swift @@ -5,6 +5,12 @@ import PackageDescription let package = Package( name: "Depends", + platforms: [ + .iOS(.v13), + .macOS(.v10_15), + .tvOS(.v13), + .watchOS(.v6) + ], products: [ .library(name: "Depends-auto", targets: [ "Depends" ]),