[jira] [Created] (OFBIZ-11304) Install a Checkstyle pre-commit on every committer machine

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-11304) Install a Checkstyle pre-commit on every committer machine

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-11304:
---------------------------------------

             Summary: Install a Checkstyle pre-commit on every committer machine
                 Key: OFBIZ-11304
                 URL: https://issues.apache.org/jira/browse/OFBIZ-11304
             Project: OFBiz
          Issue Type: Sub-task
    Affects Versions: Trunk
            Reporter: Jacques Le Roux
             Fix For: Upcoming Branch


The ofbizTrunkFrameworkPlugins build fail when a lint error is detected by the Check gradle task. It's "hard" to exactly know from where they come.

I think we should rely on a Checkstyle pre-commit hook: https://gist.github.com/davetron5000/37350 to complement tasks.checkstyleMain.maxErrors

Every committer would have it installed locally and the problem would be gone \o/



--
This message was sent by Atlassian Jira
(v8.3.4#803005)