mirror of
https://github.com/KDE/kasts.git
synced 2025-01-31 09:34:55 +01:00
Workaround for kde_configure_git_pre_commit_hook not working on android CI
This commit is contained in:
parent
bd738610bc
commit
719879072e
@ -63,4 +63,8 @@ feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAG
|
||||
|
||||
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES src/*.cpp src/*.h)
|
||||
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
|
||||
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
|
||||
|
||||
if (NOT ANDROID)
|
||||
# inside if-statement to work around problems with gitlab Android CI
|
||||
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user