aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-02-13 09:15:39 -0500
committerGitHub <noreply@github.com>2017-02-13 09:15:39 -0500
commit0a295c21d3379117e661fdbf586ecb6222c3602b (patch)
treeab56ced74d28cd6ae954d24af70c1a05445c8eee /plugins
parentae435591ce164a8bb4c836fec446adebc7f14a4a (diff)
parentdd3ebe49c9d7dfc1c0a087c8e2a2679e466b5908 (diff)
downloadcbt-0a295c21d3379117e661fdbf586ecb6222c3602b.tar.gz
cbt-0a295c21d3379117e661fdbf586ecb6222c3602b.tar.bz2
cbt-0a295c21d3379117e661fdbf586ecb6222c3602b.zip
Merge pull request #340 from cvogt/fix-jar-packaging
make sure jar, tests and main classes use the right directories
Diffstat (limited to 'plugins')
-rw-r--r--plugins/scalatest/ScalaTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scalatest/ScalaTest.scala b/plugins/scalatest/ScalaTest.scala
index 5ccabc6..56405aa 100644
--- a/plugins/scalatest/ScalaTest.scala
+++ b/plugins/scalatest/ScalaTest.scala
@@ -6,7 +6,7 @@ trait ScalaTest extends BaseBuild{
override def run: ExitCode = {
import ScalaTestLib._
val _classLoader = classLoader(context.classLoaderCache)
- val suiteNames = compileFile.map( d => discoverSuites(d, _classLoader) ).toVector.flatten
+ val suiteNames = exportedClasspath.files.map( d => discoverSuites(d, _classLoader) ).flatten
runSuites( suiteNames.map( loadSuite( _, _classLoader ) ) )
ExitCode.Success
}