Skip to content

Commit 134451f

Browse files
authored
Fix up license headers and enable check (#746)
1 parent ef4f15f commit 134451f

File tree

163 files changed

+209
-164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+209
-164
lines changed

.github/workflows/pull_request.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,5 @@ jobs:
5353
name: Soundness
5454
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
5555
with:
56-
license_header_check_enabled: false # feature: https://github.com/swiftlang/github-workflows/issues/78
5756
license_header_check_project_name: "Swift Argument Parser" # bug: https://github.com/swiftlang/github-workflows/issues/76
5857
shell_check_enabled: false # bug: https://github.com/apple/swift-argument-parser/issues/703

.license_header_template

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
@@===----------------------------------------------------------------------===@@
2+
@@
3+
@@ This source file is part of the Swift Argument Parser open source project
4+
@@
5+
@@ Copyright (c) YEARS 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+
@@
10+
@@===----------------------------------------------------------------------===@@

.licenseignore

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.gitignore
2+
**/.gitignore
3+
.licenseignore
4+
.gitattributes
5+
.git-blame-ignore-revs
6+
.mailfilter
7+
.mailmap
8+
.spi.yml
9+
.swift-format
10+
.editorconfig
11+
.github/*
12+
*.md
13+
*.mdoc
14+
*.txt
15+
*.yml
16+
*.yaml
17+
*.json
18+
*.png
19+
*.bash
20+
*.cmake
21+
*.cmake.in
22+
Package.swift
23+
**/Package.swift
24+
Package@*.swift
25+
**/Package@*.swift
26+
Package.resolved
27+
**/Package.resolved
28+
.unacceptablelanguageignore
29+
**/Snapshots/*

Examples/color/Color.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
//===----------------------------------------------------------------------===//
22
//
3-
// This source file is part of the Swift.org open source project
3+
// This source file is part of the Swift Argument Parser open source project
44
//
55
// Copyright (c) 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
9-
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
109
//
1110
//===----------------------------------------------------------------------===//
1211

Examples/count-lines/CountLines.swift

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

Examples/math/Math.swift

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

Examples/repeat/Repeat.swift

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

Examples/roll/SplitMix64.swift

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

Examples/roll/main.swift

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

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// swift-tools-version:5.7
2-
//===----------------------------------------------------------*- swift -*-===//
2+
//===----------------------------------------------------------------------===//
33
//
44
// This source file is part of the Swift Argument Parser open source project
55
//

0 commit comments

Comments
 (0)