diff options
Diffstat (limited to 'examples/scalatest-example/build')
-rw-r--r-- | examples/scalatest-example/build/build.scala | 9 | ||||
-rw-r--r-- | examples/scalatest-example/build/build/build.scala | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/examples/scalatest-example/build/build.scala b/examples/scalatest-example/build/build.scala new file mode 100644 index 0000000..48248fd --- /dev/null +++ b/examples/scalatest-example/build/build.scala @@ -0,0 +1,9 @@ +import cbt._ +class Build(val context: Context) extends SbtLayoutMain { + outer => + override def test: Option[ExitCode] = Some{ + new BasicBuild(context) with ScalaTest with SbtLayoutTest{ + override def dependencies = outer +: super.dependencies + }.run + } +} diff --git a/examples/scalatest-example/build/build/build.scala b/examples/scalatest-example/build/build/build.scala new file mode 100644 index 0000000..d641b51 --- /dev/null +++ b/examples/scalatest-example/build/build/build.scala @@ -0,0 +1,8 @@ +import cbt._ + +class Build(val context: Context) extends BuildBuild{ + override def dependencies = super.dependencies ++ Seq( + plugins.scalaTest, + plugins.sbtLayout + ) +} |