diff options
Diffstat (limited to 'stage1')
-rw-r--r-- | stage1/Stage1.scala | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/stage1/Stage1.scala b/stage1/Stage1.scala index 81b008f..d559dd4 100644 --- a/stage1/Stage1.scala +++ b/stage1/Stage1.scala @@ -72,8 +72,13 @@ object Stage1{ classLoader .loadClass("cbt.Stage2") - .getMethod( "getBuild", classOf[java.lang.Object], classOf[java.lang.Boolean] ) - .invoke(null, context, (buildStage1.changed || changed): java.lang.Boolean) + .getMethod( "getBuild", classOf[Context] ) + .invoke( + null, + context.copy( + cbtHasChanged = context.cbtHasChanged || buildStage1.changed || changed // might be redundant + ) + ) } def buildStage2( |