File tree 8 files changed +42
-28
lines changed
.github/workflows/scripts 8 files changed +42
-28
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ===----------------------------------------------------------------------===//
2
+ # ===----------------------------------------------------------------------===#
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
9
9
# See https://swift.org/LICENSE.txt for license information
10
10
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
11
#
12
- # ===----------------------------------------------------------------------===//
12
+ # ===----------------------------------------------------------------------===#
13
13
14
14
set -euo pipefail
15
15
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ===----------------------------------------------------------------------===//
2
+ # ===----------------------------------------------------------------------===#
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
9
9
# See https://swift.org/LICENSE.txt for license information
10
10
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
11
#
12
- # ===----------------------------------------------------------------------===//
12
+ # ===----------------------------------------------------------------------===#
13
13
14
14
set -euo pipefail
15
15
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ===----------------------------------------------------------------------===//
2
+ # ===----------------------------------------------------------------------===#
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
9
9
# See https://swift.org/LICENSE.txt for license information
10
10
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
11
#
12
- # ===----------------------------------------------------------------------===//
12
+ # ===----------------------------------------------------------------------===#
13
13
14
14
set -euo pipefail
15
15
40
40
41
41
paths_with_missing_license=( )
42
42
43
- file_excludes= " .license_header_template
44
- .licenseignore"
45
- if [ -f .licenseignore ] ; then
46
- file_excludes= $file_excludes $( printf ' \n ' ) $( cat .licenseignore )
43
+ if [[ -f .licenseignore ]] ; then
44
+ file_paths= $( tr ' \n ' ' \0 ' < .licenseignore | xargs -0 -I% printf ' ":(exclude)%" ' | xargs git ls-files " :(exclude).licenseignore " " :(exclude).license_header_template " )
45
+ else
46
+ file_paths= $( git ls-files " :(exclude).license_header_template " )
47
47
fi
48
- file_paths= $( echo " $file_excludes " | tr ' \n ' ' \0 ' | xargs -0 -I% printf ' ":(exclude)%" ' | xargs git ls-files )
48
+
49
49
50
50
while IFS= read -r file_path; do
51
51
file_basename=$( basename -- " ${file_path} " )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ===----------------------------------------------------------------------===//
2
+ # ===----------------------------------------------------------------------===#
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
9
9
# See https://swift.org/LICENSE.txt for license information
10
10
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
11
#
12
- # ===----------------------------------------------------------------------===//
12
+ # ===----------------------------------------------------------------------===#
13
13
14
14
set -euo pipefail
15
15
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # ===----------------------------------------------------------------------===//
2
+ # ===----------------------------------------------------------------------===#
3
3
#
4
4
# This source file is part of the Swift.org open source project
5
5
#
9
9
# See https://swift.org/LICENSE.txt for license information
10
10
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
11
#
12
- # ===----------------------------------------------------------------------===//
12
+ # ===----------------------------------------------------------------------===#
13
13
14
14
set -euo pipefail
15
15
Original file line number Diff line number Diff line change
1
+ # ===----------------------------------------------------------------------===#
2
+ #
3
+ # This source file is part of the Swift.org 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
+ # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ #
11
+ # ===----------------------------------------------------------------------===#
Original file line number Diff line number Diff line change
1
+ .github/workflows/configs/.flake8
2
+ **/*.yml
3
+ CODEOWNERS
4
+ LICENSE.txt
5
+ README.md
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
- ##===----------------------------------------------------------------------===##
3
- ##
4
- ## This source file is part of the Swift.org open source project
5
- ##
6
- ## Copyright (c) 2020 Apple Inc. and the Swift.org project authors
7
- ## Licensed under Apache License v2.0
8
- ##
9
- ## See LICENSE.txt for license information
10
- ## See CONTRIBUTORS.txt for the list of Swift.org project authors
11
- ##
12
- ## SPDX-License-Identifier: Apache-2.0
13
- ##
14
- ##===----------------------------------------------------------------------===##
2
+ # ===----------------------------------------------------------------------===#
3
+ #
4
+ # This source file is part of the Swift.org open source project
5
+ #
6
+ # Copyright (c) 2024 Apple Inc. and the Swift project authors
7
+ # Licensed under Apache License v2.0 with Runtime Library Exception
8
+ #
9
+ # See https://swift.org/LICENSE.txt for license information
10
+ # See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
+ #
12
+ # ===----------------------------------------------------------------------===#
You can’t perform that action at this time.
0 commit comments