diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2018-10-22 11:13:30 -0700 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-22 11:13:30 -0700 |
commit | ccd5a5fb7bfc9469cc8215a894e51267484b48bf (patch) | |
tree | a63c558f3ff055c9e1fd5963fb8ac3331a525a32 | |
parent | db98418fef75dc36b1fa562903f244ced05234ec (diff) | |
download | spack-ccd5a5fb7bfc9469cc8215a894e51267484b48bf.tar.gz spack-ccd5a5fb7bfc9469cc8215a894e51267484b48bf.tar.bz2 spack-ccd5a5fb7bfc9469cc8215a894e51267484b48bf.tar.xz spack-ccd5a5fb7bfc9469cc8215a894e51267484b48bf.zip |
license: exclude ignored files from the license check (#9578)
Previously, if you built the docs, you'd get license errors for
generated .rst files. This removes them from the list of licensed
files.
-rw-r--r-- | lib/spack/spack/cmd/license.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/license.py b/lib/spack/spack/cmd/license.py index feb82fe0ed..df208d8bbe 100644 --- a/lib/spack/spack/cmd/license.py +++ b/lib/spack/spack/cmd/license.py @@ -40,7 +40,7 @@ licensed_files = [ r'^lib/spack/env/cc$', # rst files in documentation - r'^lib/spack/docs/.*\.rst$', + r'^lib/spack/docs/(?!command_index|spack|llnl).*\.rst$', r'^lib/spack/docs/.*\.py$', # 2 files in external |