Add license checker script

This commit is contained in:
lilith 2022-11-02 22:25:04 -04:00
parent b3c60eb73f
commit 9f77dc8262
1 changed files with 3 additions and 0 deletions

3
check_licenses.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
! rg --multiline --files-without-match --glob '*.rs' --pcre2 '(?<!\n)((//)|(#)) Copyright \(c\) \d+ [A-z, ]+\n((//)|(#)) SPDX-License-Identifier: .*\n'