mocobeta opened a new pull request #215: URL: https://github.com/apache/lucene/pull/215
This adds git pre-commit hook for Lucene precommit check. (Usage) Install pre-commit hook (opt-in) ``` ./gradlew precommitHook ``` After installing, precommit will be automatically performed before every commit. ``` git commit -m "commit attempt that doesn't pass spotless check" ...... > Task :lucene:luke:spotlessJavaCheck FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':lucene:luke:spotlessJavaCheck'. > The following files had format violations: ...... // commit fails. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org