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.
This commit is contained in:
Todd Gamblin 2018-10-22 11:13:30 -07:00 committed by Peter Scheibel
parent db98418fef
commit ccd5a5fb7b

View File

@ -40,7 +40,7 @@
r'^lib/spack/env/cc$', r'^lib/spack/env/cc$',
# rst files in documentation # rst files in documentation
r'^lib/spack/docs/.*\.rst$', r'^lib/spack/docs/(?!command_index|spack|llnl).*\.rst$',
r'^lib/spack/docs/.*\.py$', r'^lib/spack/docs/.*\.py$',
# 2 files in external # 2 files in external