diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-21 12:22:31 +0800 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-27 18:53:27 +0800 |
commit | 00f1e2719d507261f40a494096487b0f0a4bae2f (patch) | |
tree | 9684b673bc9147a70eeca7783d4f455221872966 /libraries/eval | |
parent | af5361b7eaeff292f551848d51cc1e8b0a6851c6 (diff) | |
download | cbt-00f1e2719d507261f40a494096487b0f0a4bae2f.tar.gz cbt-00f1e2719d507261f40a494096487b0f0a4bae2f.tar.bz2 cbt-00f1e2719d507261f40a494096487b0f0a4bae2f.zip |
turn `test` into a subproject for easy access to test’s tasks
Diffstat (limited to 'libraries/eval')
-rw-r--r-- | libraries/eval/build/build.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/eval/build/build.scala b/libraries/eval/build/build.scala index a869ace..29c6d6f 100644 --- a/libraries/eval/build/build.scala +++ b/libraries/eval/build/build.scala @@ -4,11 +4,11 @@ class Build(val context: Context) extends BaseBuild{ override def dependencies = super.dependencies :+ new ScalaCompilerDependency( context.cbtLastModified, context.paths.mavenCache, scalaVersion ) - override def test: Option[ExitCode] = Some{ + override def test: Dependency = { new BasicBuild(context.copy(workingDirectory = projectDirectory ++ "/test")) with ScalaTest{ override def dependencies = super.dependencies ++ Seq( DirectoryDependency(projectDirectory++"/..") ) - }.run - } + } + } } |