From 9f77dc82628de477c5f8030ee4f247c3a4811114 Mon Sep 17 00:00:00 2001 From: lilithium-hydride Date: Wed, 2 Nov 2022 22:25:04 -0400 Subject: [PATCH 1/3] Add license checker script --- check_licenses.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 check_licenses.sh diff --git a/check_licenses.sh b/check_licenses.sh new file mode 100644 index 0000000..7cc4621 --- /dev/null +++ b/check_licenses.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +! rg --multiline --files-without-match --glob '*.rs' --pcre2 '(? Date: Wed, 2 Nov 2022 22:29:34 -0400 Subject: [PATCH 2/3] Add deps to check_licenses.sh --- check_licenses.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/check_licenses.sh b/check_licenses.sh index 7cc4621..c02b162 100644 --- a/check_licenses.sh +++ b/check_licenses.sh @@ -1,3 +1,4 @@ #!/bin/sh +# Depends on: `rg` (ripgrep) ! rg --multiline --files-without-match --glob '*.rs' --pcre2 '(? Date: Wed, 2 Nov 2022 20:35:12 -0600 Subject: [PATCH 3/3] Add executable modifier to check_licenses.sh --- check_licenses.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 check_licenses.sh diff --git a/check_licenses.sh b/check_licenses.sh old mode 100644 new mode 100755 -- 2.30.2