diff --git a/Sources/Hummingbird/Codable/URLEncodedForm/URLEncodedFormNode.swift b/Sources/Hummingbird/Codable/URLEncodedForm/URLEncodedFormNode.swift index fcca424a..12efc9df 100644 --- a/Sources/Hummingbird/Codable/URLEncodedForm/URLEncodedFormNode.swift +++ b/Sources/Hummingbird/Codable/URLEncodedForm/URLEncodedFormNode.swift @@ -1,3 +1,17 @@ +//===----------------------------------------------------------------------===// +// +// This source file is part of the Hummingbird server framework project +// +// Copyright (c) 2021-2021 the Hummingbird authors +// Licensed under Apache License v2.0 +// +// See LICENSE.txt for license information +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors +// +// SPDX-License-Identifier: Apache-2.0 +// +//===----------------------------------------------------------------------===// + /// Internal representation of URL encoded form data used by both encode and decode enum URLEncodedFormNode: CustomStringConvertible, Equatable { /// holds a value diff --git a/Sources/Hummingbird/Middleware/MiddlewareModule/MiddlewareFixedTypeBuilder.swift b/Sources/Hummingbird/Middleware/MiddlewareModule/MiddlewareFixedTypeBuilder.swift index dc7a71e7..d5272427 100644 --- a/Sources/Hummingbird/Middleware/MiddlewareModule/MiddlewareFixedTypeBuilder.swift +++ b/Sources/Hummingbird/Middleware/MiddlewareModule/MiddlewareFixedTypeBuilder.swift @@ -1,5 +1,18 @@ //===----------------------------------------------------------------------===// // +// This source file is part of the Hummingbird server framework project +// +// Copyright (c) YEARS the Hummingbird authors +// Licensed under Apache License v2.0 +// +// See LICENSE.txt for license information +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors +// +// SPDX-License-Identifier: Apache-2.0 +// +//===----------------------------------------------------------------------===// +//===----------------------------------------------------------------------===// +// // This source file is part of the swift-middleware open source project // // Copyright (c) 2023 Apple Inc. and the swift-middleware project authors diff --git a/Tests/HummingbirdCoreTests/Certificates.swift b/Tests/HummingbirdCoreTests/Certificates.swift index bbd59392..abaac13d 100644 --- a/Tests/HummingbirdCoreTests/Certificates.swift +++ b/Tests/HummingbirdCoreTests/Certificates.swift @@ -1,12 +1,12 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Hummingbird open source project +// This source file is part of the Hummingbird server framework project // // Copyright (c) YEARS the Hummingbird authors // Licensed under Apache License v2.0 // // See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Hummingbird authors +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors // // SPDX-License-Identifier: Apache-2.0 // diff --git a/Tests/HummingbirdHTTP2Tests/Certificates.swift b/Tests/HummingbirdHTTP2Tests/Certificates.swift index bbd59392..abaac13d 100644 --- a/Tests/HummingbirdHTTP2Tests/Certificates.swift +++ b/Tests/HummingbirdHTTP2Tests/Certificates.swift @@ -1,12 +1,12 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Hummingbird open source project +// This source file is part of the Hummingbird server framework project // // Copyright (c) YEARS the Hummingbird authors // Licensed under Apache License v2.0 // // See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Hummingbird authors +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors // // SPDX-License-Identifier: Apache-2.0 // diff --git a/Tests/HummingbirdTests/Certificates.swift b/Tests/HummingbirdTests/Certificates.swift index 84f4f526..44ffee53 100644 --- a/Tests/HummingbirdTests/Certificates.swift +++ b/Tests/HummingbirdTests/Certificates.swift @@ -1,12 +1,12 @@ //===----------------------------------------------------------------------===// // -// This source file is part of the Hummingbird open source project +// This source file is part of the Hummingbird server framework project // // Copyright (c) YEARS the Hummingbird authors // Licensed under Apache License v2.0 // // See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Hummingbird authors +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors // // SPDX-License-Identifier: Apache-2.0 // diff --git a/scripts/validate.sh b/scripts/validate.sh index 9819b237..3d2d02e3 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -59,18 +59,18 @@ for language in swift-or-c; do matching_files=( -name '*' ) case "$language" in swift-or-c) - exceptions=( -path '*Sources/INIParser/*' -o -path '*Sources/CSotoExpat/*' -o -path '*Benchmark/.build/*' -o -name Package.swift) + exceptions=( -path '*/Benchmarks/.build/*' -o -name Package.swift) matching_files=( -name '*.swift' -o -name '*.c' -o -name '*.h' ) cat > "$tmp" <<"EOF" //===----------------------------------------------------------------------===// // -// This source file is part of the Hummingbird open source project +// This source file is part of the Hummingbird server framework project // // Copyright (c) YEARS the Hummingbird authors // Licensed under Apache License v2.0 // // See LICENSE.txt for license information -// See CONTRIBUTORS.txt for the list of Hummingbird authors +// See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors // // SPDX-License-Identifier: Apache-2.0 // @@ -82,13 +82,13 @@ EOF cat > "$tmp" <<"EOF" ##===----------------------------------------------------------------------===## ## -## This source file is part of the Hummingbird open source project +## This source file is part of the Hummingbird server framework project ## ## Copyright (c) YEARS the Hummingbird authors ## Licensed under Apache License v2.0 ## ## See LICENSE.txt for license information -## See CONTRIBUTORS.txt for the list of Hummingbird authors +## See hummingbird/CONTRIBUTORS.txt for the list of Hummingbird authors ## ## SPDX-License-Identifier: Apache-2.0 ##