]> Dogcows Code - chaz/sbt-tap/commitdiff
Don't modify testListeners in the plugin itself. Make the user sweat it a bit :)
authorManish Khettry <manish@ooyala.com>
Sun, 22 Apr 2012 23:02:54 +0000 (16:02 -0700)
committerManish Khettry <manish@ooyala.com>
Sun, 22 Apr 2012 23:02:54 +0000 (16:02 -0700)
src/main/scala/SbtTapReporting.scala

index 2524bda33ddaa57f11667d840c5f497120fbc4dd..c6e0068738448572f84d65eb177139faf199e7ab 100644 (file)
@@ -1,16 +1,11 @@
-package sbttap
-
 import sbt._
 import org.scalatools.testing.{Event => TEvent, Result => TResult}
 
-import Keys._
 import java.util.concurrent.atomic.AtomicInteger
 import java.io.{File, FileWriter}
 
 object SbtTapReporting extends Plugin {
-  override def settings = Seq(
-    testListeners ++= Seq(new SbtTapListener)
-  )
+  lazy val tapListener = new SbtTapListener
 }
 
 /**
This page took 0.027901 seconds and 4 git commands to generate.