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 2f7f33ead2 Improved: Install a Checkstyle pre-push (on every committer 
machine?) (OFBIZ-11304)
2f7f33ead2 is described below

commit 2f7f33ead2b6b8e27122e8ccb70944b3f7876bf0
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Sun Aug 27 09:11:26 2023 +0200

    Improved: Install a Checkstyle pre-push (on every committer machine?) 
(OFBIZ-11304)
    
    Uses the complete "check" Gradle task (Chekstyle for Java + Codenarc for 
Groovy)
    in Git pre-push hook as discussed on dev ML
---
 build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to