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

How to run the scapegoat task when compiling the test code #46

Open
fedeoasi opened this issue Feb 27, 2017 · 1 comment
Open

How to run the scapegoat task when compiling the test code #46

fedeoasi opened this issue Feb 27, 2017 · 1 comment

Comments

@fedeoasi
Copy link

The scapegoat sbt scope extends the compile scope, which to my understanding means that scapegoat will be run against the compile scope and not against the test scope:

val Scapegoat = config("scapegoat") extend Compile

Is there a way to get a scapegoat task that runs when we compile the test code? This might be a feature request.

@sksamuel
Copy link
Collaborator

To actually run scapegoat against the test code itself. I suppose scapegoatTest would be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants