sbt-scapegoat
sbt-scapegoat copied to clipboard
Scapegoat not running in test only projects
I have a project that has no source under src/main. All source is under src/test.
Running sbt clean test:compile I get the following output:
jonathon:~/devroot/BehaviourTests$ sbt clean test:compile
[info] Loading project definition from /home/jonathon/devroot/BehaviourTests/project
[info] Set current project to BehaviourTests (in build file:/home/jonathon/devroot/BehaviourTests/)
[success] Total time: 0 s, completed 25-Mar-2015 10:12:42 AM
[info] Updating {file:/home/jonathon/devroot/BehaviourTests/}behaviourtests...
[info] Resolving jline#jline;2.12 ...
[info] Done updating.
[info] [scapegoat] setting output dir to [/home/jonathon/devroot/BehaviourTests/target/scala-2.11/scapegoat-report]
[info] Compiling 147 Scala sources to /home/jonathon/devroot/BehaviourTests/target/scala-2.11/test-classes...
[success] Total time: 13 s, completed 25-Mar-2015 10:12:55 AM
The scapegoat-report directory is not created.
I'm using sbt launcher version 0.13.7 My build definition uses Scala 2.11.5
Probably related to #46.