blob: 8dcaabdae74737b2fee585b15f140d3ffba7a4bc (
plain) (
tree)
|
|
import cbt._
class Build(val context: Context) extends BaseBuild{
outer =>
override def dependencies = super.dependencies :+
new ScalaCompilerDependency( context.cbtHasChanged, context.paths.mavenCache, scalaVersion )
override def test: Option[ExitCode] = Some{
new BasicBuild(context.copy(projectDirectory = projectDirectory ++ "/test")) with ScalaTest{
override def dependencies = super.dependencies ++ Seq(
DirectoryDependency(projectDirectory++"/..")
)
}.run
}
}
|