Skip to content

Commit 77f84d3

Browse files
authored
Enable license header soundness check (#1312)
1 parent f5c9286 commit 77f84d3

File tree

26 files changed

+130
-92
lines changed

26 files changed

+130
-92
lines changed

.editorconfig

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

313
root = true

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
2424
with:
2525
license_header_check_project_name: "Swift"
26-
license_header_check_enabled: false
2726
docs_check_enabled: false
2827
unacceptable_language_check_enabled: false
2928
format_check_enabled: false

.license_header_template

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

.licenseignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Package.swift
2+
**/*.xctestplan
3+
**/*.xcscheme
4+
**/*.swiftoverlay

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (c) 2024 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
6-
# See http://swift.org/LICENSE.txt for license information
7-
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
cmake_minimum_required(VERSION 3.19.6...3.29)
1010

Dockerfile

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

911
FROM swiftlang/swift:nightly-main-jammy
1012

Sources/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (c) 2024 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
6-
# See http://swift.org/LICENSE.txt for license information
7-
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
set(SwiftTesting_MACRO "<auto>" CACHE STRING
1010
"Path to SwiftTesting macro plugin, or '<auto>' for automatically building it")

Sources/Overlays/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (c) 2024–2025 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
6-
# See http://swift.org/LICENSE.txt for license information
7-
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
add_subdirectory(_Testing_AppKit)
1010
add_subdirectory(_Testing_CoreGraphics)

Sources/Overlays/_Testing_AppKit/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (c) 2024–2025 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
6-
# See http://swift.org/LICENSE.txt for license information
7-
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
1010
add_library(_Testing_AppKit

Sources/Overlays/_Testing_CoreGraphics/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Copyright (c) 2024–2025 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
6-
# See http://swift.org/LICENSE.txt for license information
7-
# See http://swift.org/CONTRIBUTORS.txt for Swift project authors
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for Swift project authors
88

99
if(APPLE)
1010
add_library(_Testing_CoreGraphics

0 commit comments

Comments
 (0)