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 10:17:17 +0000 |
commit | df0fc33ed3386972cce7129b758f05c9f9c8d728 (patch) | |
tree | 32c7840ab36e3d1aa27d5d010c3fa3e6e256eea2 /buildstream/plugin.py | |
parent | f6c184f5bdaa664d543d00c6f42f25614d0f79dd (diff) | |
download | buildstream-df0fc33ed3386972cce7129b758f05c9f9c8d728.tar.gz |
plugin.py: Add BAD_ELEMENT_SUFFIX warning
Diffstat (limited to 'buildstream/plugin.py')
-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 |