Add license checker script #26
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
# Depends on: `rg` (ripgrep)
|
||||
|
||||
! rg --multiline --files-without-match --glob '*.rs' --pcre2 '(?<!\n)((//)|(#)) Copyright \(c\) \d+ [A-z, ]+\n((//)|(#)) SPDX-License-Identifier: .*\n'
|
Loading…
Reference in New Issue