Moving license check into a script since it's run manually enough that the copy/paste was annoying.

This commit is contained in:
a2geek committed 2026-10-08 12:54:56 -05:00
1 parent ed87db4c6c
commit 5ab4400565
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -99,7 +99,7 @@ jobs:
- name: Look for license phrase
run: |
outfile=$(mktemp)
find . -name "*.java" -not -name "Sleak.java" -not -name module-info.java | xargs grep -L "GNU General Public License" > ${outfile}
./scripts/license-check.sh > ${outfile}
if [ -s "${outfile}" ]
then
echo "License headers missing on the following files:"
+3
View File
@@ -0,0 +1,3 @@
#!/bin/bash
find . -name "*.java" -not -name "Sleak.java" -not -name module-info.java | xargs grep -L "GNU General Public License"