diff options
author | Matt Farmer <matt@frmr.me> | 2016-03-12 11:48:44 -0500 |
---|---|---|
committer | Matt Farmer <matt@frmr.me> | 2016-03-12 11:48:44 -0500 |
commit | 8def7c75ad28d619d9aaea4eabf1213560d5b746 (patch) | |
tree | b5127f0664972a081f00e3726148644f5a826741 /stage1/Stage1Lib.scala | |
parent | d21fa548ff16537e98f90b4cd4adadd942dd1f05 (diff) | |
download | cbt-8def7c75ad28d619d9aaea4eabf1213560d5b746.tar.gz cbt-8def7c75ad28d619d9aaea4eabf1213560d5b746.tar.bz2 cbt-8def7c75ad28d619d9aaea4eabf1213560d5b746.zip |
Re-enable cache detection.
We had previously disabled needsRecompile caching because we weren't
properly capturing zinc's status at the conclusion of a compile. So we
*always* had to recompile.
Now that we've fixed the exit detection on zinc, we can correctly cache
things and not recompile if the sources haven't changed.
Diffstat (limited to 'stage1/Stage1Lib.scala')
-rw-r--r-- | stage1/Stage1Lib.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage1/Stage1Lib.scala b/stage1/Stage1Lib.scala index f9f1fdd..cd8bde8 100644 --- a/stage1/Stage1Lib.scala +++ b/stage1/Stage1Lib.scala @@ -131,7 +131,7 @@ class Stage1Lib( val logger: Logger ) extends BaseLib{ // only run zinc if files changed, for performance reasons // FIXME: this is broken, need invalidate on changes in dependencies as well - if( true || needsRecompile ){ + if( needsRecompile ){ val zinc = MavenDependency("com.typesafe.zinc","zinc", zincVersion)(logger) val zincDeps = zinc.transitiveDependencies |