diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-11 23:32:58 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-01-11 23:32:58 -0700 |
commit | 8573ec62fe175edc73c6c54d24e520ee6aba3f96 (patch) | |
tree | 4407a3f67de5736a70c8b9d19d3ee86b5503141a /GNUmakefile | |
parent | e7e0cff1960fca598e0ba01be2bb56b65cbb9e2b (diff) |
make lint: Allow 2025 copyright years
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile index 098f076..86008a0 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -1,6 +1,6 @@ # GNUmakefile - Main build script for sbc-harness project # -# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> +# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com> # SPDX-License-Identifier: AGPL-3.0-or-later # Project configuration ######################################################## @@ -123,7 +123,7 @@ lint/all: lint/%: @find $$(printf '%s\n' $${sources_$*} | grep -vE '^cmd/[^/]+/static/') \ -maxdepth 0 -type f | \ { r=0; while read -r filename; do \ - if ! grep -q 'Copyright (C) 2024 Luke T. Shumaker' $$filename; then \ + if ! grep -E -q 'Copyright \(C\) 202[4-9]((-|, )202[5-9])* Luke T. Shumaker' $$filename; then \ echo "$$filename is missing a copyright statement"; r=1; \ fi; \ if ! grep -q ' SPDX-License-Identifier[:] ' $$filename; then \ |