This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 691de92337 Improved: Install a Checkstyle pre-push (on every committer 
machine?) (OFBIZ-11304)
691de92337 is described below

commit 691de923379828699525498f94f6c5d371b79e77
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Aug 30 11:02:37 2023 +0200

    Improved: Install a Checkstyle pre-push (on every committer machine?) 
(OFBIZ-11304)
    
    In Git pre-push hook as discussed on dev ML, rather than using the complete
    "check" Gradle task , uses faster
    checkstyleMain for Java and codenarcGroovyScripts for Groovy
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 70ec3515a7..2d7e2a6813 100644
--- a/build.gradle
+++ b/build.gradle
@@ -388,7 +388,7 @@ checkstyle {
     showViolations = true
 }
 gitHooks {
-    hooks = ['pre-push': 'check']
+    hooks = ['pre-push': 'checkstyleMain codenarcGroovyScripts']
 }
 
 // Checks OFBiz Groovy coding conventions.

Reply via email to