Skip to content

Commit b51ecc8

Browse files
committed
Fix most of the license checks
1 parent de884a5 commit b51ecc8

File tree

7 files changed

+59
-14
lines changed

7 files changed

+59
-14
lines changed

.licenseignore

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.gitignore
2+
.swiftformat
3+
.swiftformatignore
4+
.unacceptablelanguageignore
5+
Brewfile
6+
7+
*.md
8+
*.txt
9+
*.yml
10+
**/.editorconfig
11+
**/*.docc/**
12+
**/*.entitlements
13+
**/*.input
14+
**/*.modulemap
15+
**/*.plist
16+
**/*.xcodeproj/**
17+
**/CODEOWNERS
18+
**/Dockerfile
19+
**/Package.swift

Sources/Helpers/Vendor/Triple.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===--------------- Triple.swift - Swift Target Triples ------------------===//
1+
//===----------------------------------------------------------------------===//
22
//
33
// This source file is part of the Swift open source project
44
//

Sources/Helpers/Vendor/_AsyncFileSystem/ConcurrencySupport.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
21
//===----------------------------------------------------------------------===//
32
//
43
// This source file is part of the Swift open source project
54
//
65
// Copyright (c) 2020-2024 Apple Inc. and the Swift project authors
76
// Licensed under Apache License v2.0 with Runtime Library Exception
87
//
9-
// See http://swift.org/LICENSE.txt for license information
10-
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1110
//
1211
//===----------------------------------------------------------------------===//
1312

Sources/Helpers/Vendor/_AsyncFileSystem/WritableStream.swift

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
/*
2-
This source file is part of the Swift open source project
3-
4-
Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors
5-
Licensed under Apache License v2.0 with Runtime Library Exception
6-
7-
See http://swift.org/LICENSE.txt for license information
8-
See http://swift.org/CONTRIBUTORS.txt for Swift project authors
9-
*/
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift open source project
4+
//
5+
// Copyright (c) 2014-2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
1012

1113
import _Concurrency
1214

Sources/SwiftSDKGenerator/Extensions/String+hasAnyPrefix.swift

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift open source project
4+
//
5+
// Copyright (c) 2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
113
extension String {
214
func hasAnyPrefix(from array: [String]) -> Bool {
315
for item in array {

Sources/SwiftSDKGenerator/Queries/TarExtractQuery.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// This source file is part of the Swift open source project
44
//
5-
// Copyright (c) 2022-202Apple Inc. and the Swift project authors
5+
// Copyright (c) 2022-2024 Apple Inc. and the Swift project authors
66
// Licensed under Apache License v2.0 with Runtime Library Exception
77
//
88
// See https://swift.org/LICENSE.txt for license information

Sources/SwiftSDKGenerator/SystemUtils/UnixName.swift

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
//===----------------------------------------------------------------------===//
2+
//
3+
// This source file is part of the Swift open source project
4+
//
5+
// Copyright (c) 2024-2025 Apple Inc. and the Swift project authors
6+
// Licensed under Apache License v2.0 with Runtime Library Exception
7+
//
8+
// See https://swift.org/LICENSE.txt for license information
9+
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10+
//
11+
//===----------------------------------------------------------------------===//
12+
13+
114
#if canImport(Darwin)
215
import Darwin
316
#elseif canImport(Glibc)

0 commit comments

Comments
 (0)