aboutsummaryrefslogtreecommitdiff
path: root/libraries/eval/build/build.scala
blob: a869acedf40ff2ed30892c137179327b35bb6d47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import cbt._
class Build(val context: Context) extends BaseBuild{
  outer =>
  override def dependencies = super.dependencies :+
    new ScalaCompilerDependency( context.cbtLastModified, context.paths.mavenCache, scalaVersion )

  override def test: Option[ExitCode] = Some{
    new BasicBuild(context.copy(workingDirectory = projectDirectory ++ "/test")) with ScalaTest{
      override def dependencies = super.dependencies ++ Seq(
        DirectoryDependency(projectDirectory++"/..")
      )
    }.run
  }  
}