Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-02-08 08:37:37 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-08 08:37:37 +0400
commit1f74789d1250033eed6c5b9c86df5274c1339581 (patch)
treef8352e592b8cf883b8b4f6d8f6d20bbdb3c4d0b8 /GNUmakefile
parent9467ddb9037c3486bcbe80e9b9be510c05dfe526 (diff)
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 478f0c35a1c..367819ecccb 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -169,6 +169,7 @@ help:
@echo " * check_cppcheck - run blender source through cppcheck (C & C++)"
@echo " * check_splint - run blenders source through splint (C only)"
@echo " * check_sparse - run blenders source through sparse (C only)"
+ @echo " * check_spelling - check for spelling errors (Python only for now)"
@echo ""
@echo "Documentation Targets (not assosiated with building blender)"
@echo " * doc_py - generate sphinx python api docs"
@@ -242,6 +243,9 @@ check_sparse:
$(CMAKE_CONFIG)
cd $(BUILD_DIR) ; python3 $(BLENDER_DIR)/build_files/cmake/cmake_static_check_sparse.py
+check_spelling:
+ cd $(BUILD_DIR) ; PYTHONIOENCODING=utf_8 python3 $(BLENDER_DIR)/source/tools/spell_check_source.py `find $(BLENDER_DIR)/release/scripts -name "*.py" | sort`
+
# -----------------------------------------------------------------------------
# Documentation