[license-header] refactor: excludes, updating, better logic (#2780)
All checks were successful
GitHub Actions [CI] Build succeeded

Rewrite of license-header.sh. Lots of new goodies:
- Fully POSIX compliant
- supports dash arguments (-u/--update, -c/--commit, -uc for both)
- can update year or malformed headers in-place now
- accounts for shell scripts
- exclusion of external files (e.g. sse2neon, my CMake modules/scripts)
- better, more extensible logic all around

Reviewed-on: #2780
This commit is contained in:
crueter 2025-10-20 02:59:43 +02:00
parent df653d6ca4
commit d7cd7c6313
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
6 changed files with 195 additions and 139 deletions

0
tools/cpm-fetch-all.sh Normal file → Executable file
View file