relicense: add spack license command

- `spack license list-files`: list all files that should have license headers
- `spack license list-lgpl`:  list files still under LGPL-2.1
- `spack license verify`:     check that license headers are correct

- Added `spack license verify` to style tests
This commit is contained in:
Todd Gamblin
2018-10-07 21:59:04 -07:00
parent 7cb5638516
commit e2e0b5df1c
3 changed files with 228 additions and 0 deletions

View File

@@ -17,4 +17,8 @@
. "$(dirname $0)/setup.sh"
check_dependencies flake8
# verify that the code style is correct
spack flake8
# verify that the license headers are present
spack license verify