aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 12:58:45 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-03-12 12:58:45 -0400
commit12f26b9187eaebb42400bef5cf85f7355b19bb61 (patch)
treeb95f43101fbee13f2186b0e273d9329b41dace5d
parent918d158f0ce87c664555d0d624fb3664c7015851 (diff)
downloadcbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.tar.gz
cbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.tar.bz2
cbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.zip
make changes in builds trigger recompilation of projects
-rw-r--r--stage2/BasicBuild.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index bc6f9d9..d7bdfee 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -164,7 +164,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge
def compile: Option[Long] = taskCache[BaseBuild]("_compile").memoize{
lib.compile(
- context.cbtLastModified,
+ Math.max( context.cbtLastModified, context.parentBuild.map(_.lastModified).getOrElse(0L) ),
sourceFiles, compileTarget, compileStatusFile, compileDependencies,
context.paths.mavenCache, scalacOptions,
zincVersion = zincVersion, scalaVersion = scalaVersion