diff options
author | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2018-11-27 15:03:55 +0000 |
---|---|---|
committer | Phillip Smyth <phillip.smyth@codethink.co.uk> | 2018-11-30 14:16:36 +0000 |
commit | 0d634c21aa8035d141414723b521b723b68f1825 (patch) | |
tree | 4728961c8a7a359861437e666ad320b7cb43e62e | |
parent | ad293ed38b5d9d72432ac882901a3c28b720069b (diff) | |
download | buildstream-0d634c21aa8035d141414723b521b723b68f1825.tar.gz |
plugin.py: Add BAD_ELEMENT_SUFFIX warning
-rw-r--r-- | buildstream/plugin.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/buildstream/plugin.py b/buildstream/plugin.py index 00e0ed795..37dd78cc8 100644 --- a/buildstream/plugin.py +++ b/buildstream/plugin.py @@ -784,6 +784,12 @@ class CoreWarnings(): which is found to be invalid based on the configured track """ + BAD_ELEMENT_SUFFIX = "bad-element-suffix" + """ + This warning will be produced when an element whose name does not end in .bst + is referenced either on the command line or by another element + """ + __CORE_WARNINGS = [ value |