Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SBT plugin page; Running scalastyle as part of another test isn't updated for 0.6.0 #3

Closed
DomBlack opened this issue Nov 10, 2014 · 0 comments

Comments

@DomBlack
Copy link

In 0.6.0 the sbt.PluginKeys.scalastyle no longer works, that and scalastyle/scalastyle-sbt-plugin#31 led me to implementing it this way (note the in(Compile) was to get it to read the custom config location);

    testScalaStyle := { org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Compile).toTask("").value },
    test in Test <<= (test in Test) dependsOn testScalaStyle,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant