Skip to content

Commit 032d783

Browse files
committed
Drop BSD-3 file copyright exception
Our Haskell-based benchmark-lsp program was BSD-3-licensed. However, the new C++-based program is GPLv3-licensed. Reinstate the GPLv3 checks in our check-file-copyrights tool for benchmark-lsp.
1 parent a44e65d commit 032d783

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/check-file-copyrights

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ check_file_copyright_header() {
1414
local file="${1}"
1515
case "${file}" in
1616
benchmark/benchmark-lsp/corpus/*) ;;
17-
benchmark/benchmark-lsp/*) check_file_copyright_header_benchmark_lsp "${file}" ;;
1817
dist/winget/*.yaml) check_file_copyright_header_winget_manifests "${file}" ;;
1918
*) check_file_copyright_header_quick_lint_js "${file}" ;;
2019
esac
@@ -37,13 +36,6 @@ check_file_copyright_header_winget_manifests() {
3736
fgrep -q 'quick-lint-js winget manifests' "${file}"
3837
}
3938

40-
# quick-lint-js's benchmark-lsp subproject is BSD3-licensed.
41-
check_file_copyright_header_benchmark_lsp() {
42-
local file="${1}"
43-
fgrep -q 'Copyright' "${file}" && \
44-
fgrep -q 'This file is part of quick-lint-js.' "${file}"
45-
}
46-
4739
error=0
4840
for file in $(find_non_vendor_files | matching '(\<CMakeLists\.txt|\.bt|\.c|\.cmake|\.cpp|\.go|\.gperf|\.h|\.hs|\.html|\.js|\.lua|\.mjs|\.nix|\.po|\.pot|\.py|\.sh|\.vim|\.yaml|\.yml)$'); do
4941
if ! check_file_copyright_header "${file}"; then

0 commit comments

Comments
 (0)