diff --git a/GNUmakefile b/GNUmakefile index 15f74d746ac..e60004cb031 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -514,7 +514,7 @@ check_spelling_shaders: .FORCE PYTHONIOENCODING=utf_8 $(PYTHON) \ "$(BLENDER_DIR)/tools/check_source/check_spelling.py" \ --cache-file=$(CHECK_SPELLING_CACHE) \ - --match=".*\.(osl|msl|glsl)$$" \ + --match=".*\.(osl|metal|msl|glsl)$$" \ "$(BLENDER_DIR)/intern/" \ "$(BLENDER_DIR)/source/" diff --git a/tools/check_source/check_spelling.py b/tools/check_source/check_spelling.py index d6f378f2c4f..4dc22da1333 100755 --- a/tools/check_source/check_spelling.py +++ b/tools/check_source/check_spelling.py @@ -79,6 +79,7 @@ SOURCE_EXT = ( "hh", "m", "mm", + "metal", "msl", "glsl", "osl",