Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions bin/check-source
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ tmp=$(mktemp /tmp/.swift-docc-symbolkit-check-source_XXXXXX)
for language in swift-or-c bash md-or-tutorial html docker; do
declare -a matching_files
declare -a exceptions
declare -a reader
exceptions=( )
declare reader
matching_files=( -name '*' )
reader=head
reader="head"
case "$language" in
swift-or-c)
exceptions=( -name 'Package*.swift')
Expand Down Expand Up @@ -81,7 +80,7 @@ EOF
md-or-tutorial)
exceptions=( -path "./.github/*.md")
matching_files=( -name '*.md' -o -name '*.tutorial' )
reader=tail
reader="tail"
cat > "$tmp" <<"EOF"
<!-- Copyright (c) YEARS Apple Inc and the Swift Project authors. All Rights Reserved. -->
EOF
Expand Down