| 1 | #!/usr/bin/env sh |
| 2 | |
| 3 | # Runs the license update |
| 4 | # Return codes: |
| 5 | # - 1 there are files to be formatted |
| 6 | # - 0 everything looks fine |
| 7 | |
| 8 | set -eu |
| 9 | |
| 10 | FILES=$(find src resources/qml -type f \( -iname "*.cpp" -o -iname "*.h" -o -iname "*.qml" \)) |
| 11 | |
| 12 | reuse annotate --exclude-year --style=cppsingle --copyright="Nheko Contributors" --license="GPL-3.0-or-later" $FILES |
| 13 | |
| 14 | git diff --exit-code |