summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2018-10-07 21:59:04 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2018-10-17 14:42:06 -0700
commite2e0b5df1c41cfa68cbdd30adb5139bc758b3501 (patch)
treebcb903f3e5343dd22c22b0721b3b218ecdb8a773 /share
parent7cb563851671a0d5338c7367849c99ceceb21de4 (diff)
downloadspack-e2e0b5df1c41cfa68cbdd30adb5139bc758b3501.tar.gz
spack-e2e0b5df1c41cfa68cbdd30adb5139bc758b3501.tar.bz2
spack-e2e0b5df1c41cfa68cbdd30adb5139bc758b3501.tar.xz
spack-e2e0b5df1c41cfa68cbdd30adb5139bc758b3501.zip
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
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/qa/run-flake8-tests4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/spack/qa/run-flake8-tests b/share/spack/qa/run-flake8-tests
index 1b9beb4d16..f98cdb919c 100755
--- a/share/spack/qa/run-flake8-tests
+++ b/share/spack/qa/run-flake8-tests
@@ -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