blob: 8dcaabdae74737b2fee585b15f140d3ffba7a4bc (
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.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
}
}
|