[Tarantool-patches] [PATCH 01/11] build: add more ignore paths for tags target

Cyrill Gorcunov gorcunov at gmail.com
Thu Nov 12 22:51:11 MSK 2020


Our .gitignore has been extended recently lets
add more paths to skip when building the tags
target.

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 CMakeLists.txt | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa6818f8e..84f77dc2b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -150,6 +150,12 @@ check_function_exists(getprogname HAVE_GETPROGNAME)
 list(APPEND tagsExclude "--exclude=.git/*")
 list(APPEND tagsExclude "--exclude=.pc/*")
 list(APPEND tagsExclude "--exclude=patches/*")
+list(APPEND tagsExclude "--exclude=.git-ignore/*")
+list(APPEND tagsExclude "--exclude=coverity/*")
+list(APPEND tagsExclude "--exclude=coverage/*")
+list(APPEND tagsExclude "--exclude=./build/*")
+list(APPEND tagsExclude "--exclude=.idea/*")
+list(APPEND tagsExclude "--exclude=src/module.h")
 add_custom_target(tags COMMAND ${CTAGS} -R ${tagsExclude} -f tags
     WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
 add_custom_target(ctags DEPENDS tags)
-- 
2.26.2



More information about the Tarantool-patches mailing list