Github user jodersky commented on the pull request:
https://github.com/apache/spark/pull/12555#issuecomment-213157715
Thanks for looking into this, I constantly forget to run the style checker.
Since you change the dependencies of `compile`, it would be great to still
have a task that *just compiles* (maybe call it `compileOnly`) the sources, for
debugging purposes, in case someone just wants to run a quick dirty fix without
worrying about style issues.
As an alternative, (and my preferred choice) what about creating a separate
task "validate" or something along the line that depends on `compile`,
`scalastyle` and maybe also runs the license header checks? It would avoid lots
of extra code in the build, not change the meaning of `compile`, and still
enable developers to *only* compile when they are debugging.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]