Jimexist commented on PR #2581:
URL: https://github.com/apache/thrift/pull/2581#issuecomment-1116100925

   > > The specific command is gradle spotlessCheck for checking which 
compliments gradle spotlessApply which applies the format, the former is by 
default included into gradle build and will do nothing is format is correct 
otherwise will fail gradle build
   > 
   > 
   > 
   > What I'm suggesting is that the check should verify that the code that is 
checked into the repo is formatted, not the code that is the result of the 
build is formatted. That implies that spotlessCheck should run as an 
independent check, without running spotlessApply.
   
   Yes sorry I wasn't clear in the beginning. The spotless check is a 
standalone step already included into gradle build - but you can also run it on 
its own. It does the check on Java lib code that's checked into git.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to