From 0d634c21aa8035d141414723b521b723b68f1825 Mon Sep 17 00:00:00 2001 From: Phillip Smyth Date: Tue, 27 Nov 2018 15:03:55 +0000 Subject: plugin.py: Add BAD_ELEMENT_SUFFIX warning --- buildstream/plugin.py | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.1