Commit f3e1f99f authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use git hook about coding style

parent dba496d5
...@@ -20,6 +20,7 @@ include(ECMMarkAsTest) ...@@ -20,6 +20,7 @@ include(ECMMarkAsTest)
include(FeatureSummary) include(FeatureSummary)
include(ECMAddAppIcon) include(ECMAddAppIcon)
include(ECMSetupVersion) include(ECMSetupVersion)
include(KDEGitCommitHooks)
## Generate header with version number ## Generate header with version number
ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KCALC ecm_setup_version(${RELEASE_SERVICE_VERSION} VARIABLE_PREFIX KCALC
...@@ -144,5 +145,6 @@ if (KF5DocTools_FOUND) ...@@ -144,5 +145,6 @@ if (KF5DocTools_FOUND)
kdoctools_install(po) kdoctools_install(po)
add_subdirectory(doc) add_subdirectory(doc)
endif() endif()
kde_configure_git_pre_commit_hook(CHECKS CLANG_FORMAT)
feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment