mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-10-24 23:02:27 +00:00
Moving license check into a script since it's run manually enough that the copy/paste was annoying.
This commit is contained in:
1 parent
ed87db4c6c
commit
5ab4400565
2 files changed
+4
-1
No files matched your search
@@ -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:"
|
||||
|
||||
Executable
+3
@@ -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"
|
||||
Reference in new issue
Block a user