Created
April 29, 2016 08:19
-
-
Save rpt/1859a319318cea6822d91b1926af8020 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run scalastyle linter with compile | |
lazy val scalaStyle = taskKey[Unit]("scalaStyle") | |
scalaStyle := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Compile).toTask("").value | |
(compile in Compile) <<= (compile in Compile) dependsOn scalaStyle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment