2022-11-03 02:25:04 +00:00
|
|
|
#!/bin/sh
|
2022-11-03 02:29:34 +00:00
|
|
|
# Depends on: `rg` (ripgrep)
|
2022-11-03 02:25:04 +00:00
|
|
|
|
|
|
|
! rg --multiline --files-without-match --glob '*.rs' --pcre2 '(?<!\n)((//)|(#)) Copyright \(c\) \d+ [A-z, ]+\n((//)|(#)) SPDX-License-Identifier: .*\n'
|