From bc9a3a5ce742ee1919ae2232410359e60226a9d7 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Mon, 15 Dec 2025 03:00:37 -0800 Subject: [PATCH] add missing copyright header and check-copyright.sh support for .mermaid --- crates/cpu/src/next_pc/next_pc.mermaid | 2 ++ scripts/check-copyright.sh | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/crates/cpu/src/next_pc/next_pc.mermaid b/crates/cpu/src/next_pc/next_pc.mermaid index 613e4b3..87deefb 100644 --- a/crates/cpu/src/next_pc/next_pc.mermaid +++ b/crates/cpu/src/next_pc/next_pc.mermaid @@ -1,3 +1,5 @@ +%% SPDX-License-Identifier: LGPL-3.0-or-later +%% See Notices.txt for copyright information stateDiagram-v2 direction LR diff --git a/scripts/check-copyright.sh b/scripts/check-copyright.sh index 43d3b08..8a00081 100755 --- a/scripts/check-copyright.sh +++ b/scripts/check-copyright.sh @@ -31,6 +31,7 @@ function check_file() POUND_HEADER=('^"# SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"# See Notices.txt for copyright information"$') SLASH_HEADER=('^"// SPDX-License-Identifier: LGPL-3.0-or-later"$' '^"// See Notices.txt for copyright information"$') MD_HEADER=('^"