diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 12:58:45 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-12 12:58:45 -0400 |
commit | 12f26b9187eaebb42400bef5cf85f7355b19bb61 (patch) | |
tree | b95f43101fbee13f2186b0e273d9329b41dace5d /stage2/BasicBuild.scala | |
parent | 918d158f0ce87c664555d0d624fb3664c7015851 (diff) | |
download | cbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.tar.gz cbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.tar.bz2 cbt-12f26b9187eaebb42400bef5cf85f7355b19bb61.zip |
make changes in builds trigger recompilation of projects
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r-- | stage2/BasicBuild.scala | 2 |
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 |