From 8def7c75ad28d619d9aaea4eabf1213560d5b746 Mon Sep 17 00:00:00 2001 From: Matt Farmer Date: Sat, 12 Mar 2016 11:48:44 -0500 Subject: 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. --- stage1/Stage1Lib.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage1/Stage1Lib.scala') 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 -- cgit v1.2.3