aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 03:54:59 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-06-19 03:54:59 -0400
commit7b5cf6fe7da9aac9af51d2a6cd410407a9cb17ad (patch)
treed12cc77da2440e405a0d0515b78775be83d6aadd /test
parentc2b51bbba200cfdfebf1e32bfd85fe40d55bf986 (diff)
downloadcbt-7b5cf6fe7da9aac9af51d2a6cd410407a9cb17ad.tar.gz
cbt-7b5cf6fe7da9aac9af51d2a6cd410407a9cb17ad.tar.bz2
cbt-7b5cf6fe7da9aac9af51d2a6cd410407a9cb17ad.zip
add plugin builds and scalatest example build to being compiled in tests
Diffstat (limited to 'test')
-rw-r--r--test/build/build.scala2
-rw-r--r--test/test.scala5
2 files changed, 6 insertions, 1 deletions
diff --git a/test/build/build.scala b/test/build/build.scala
index aef96a6..5a138fb 100644
--- a/test/build/build.scala
+++ b/test/build/build.scala
@@ -1,4 +1,4 @@
import cbt._
class Build(val context: cbt.Context) extends BaseBuild{
- override def dependencies = Seq( context.cbtDependency ) ++ super.dependencies
+ override def dependencies = super.dependencies :+ context.cbtDependency
}
diff --git a/test/test.scala b/test/test.scala
index 5a4392f..8c609dd 100644
--- a/test/test.scala
+++ b/test/test.scala
@@ -156,6 +156,11 @@ object Main{
usage("simple-fixed")
compile("simple-fixed")
+ compile("../plugins/sbt_layout")
+ compile("../plugins/scalajs")
+ compile("../plugins/scalatest")
+ compile("../examples/scalatest-example")
+
System.err.println(" DONE!")
System.err.println( successes.toString ++ " succeeded, "++ failures.toString ++ " failed" )
if(failures > 0) System.exit(1) else System.exit(0)