check_spelling: include *.metal files

This commit is contained in:
Campbell Barton 2023-09-07 20:43:26 +10:00
parent 8134849b12
commit 73057cfd22
2 changed files with 2 additions and 1 deletions

@ -514,7 +514,7 @@ check_spelling_shaders: .FORCE
PYTHONIOENCODING=utf_8 $(PYTHON) \ PYTHONIOENCODING=utf_8 $(PYTHON) \
"$(BLENDER_DIR)/tools/check_source/check_spelling.py" \ "$(BLENDER_DIR)/tools/check_source/check_spelling.py" \
--cache-file=$(CHECK_SPELLING_CACHE) \ --cache-file=$(CHECK_SPELLING_CACHE) \
--match=".*\.(osl|msl|glsl)$$" \ --match=".*\.(osl|metal|msl|glsl)$$" \
"$(BLENDER_DIR)/intern/" \ "$(BLENDER_DIR)/intern/" \
"$(BLENDER_DIR)/source/" "$(BLENDER_DIR)/source/"

@ -79,6 +79,7 @@ SOURCE_EXT = (
"hh", "hh",
"m", "m",
"mm", "mm",
"metal",
"msl", "msl",
"glsl", "glsl",
"osl", "osl",