src/Pure/Build/build.scala
changeset 79709 90fbcdafb34e
parent 79707 4ded6d260db0
child 79710 32ca3d1283de
equal deleted inserted replaced
79708:f25a6b4c3e41 79709:90fbcdafb34e
   250             no_build = no_build, session_setup = session_setup,
   250             no_build = no_build, session_setup = session_setup,
   251             jobs = max_jobs.getOrElse(if (build_hosts.nonEmpty) 0 else 1), master = true)
   251             jobs = max_jobs.getOrElse(if (build_hosts.nonEmpty) 0 else 1), master = true)
   252 
   252 
   253         if (clean_build) {
   253         if (clean_build) {
   254           for (name <- full_sessions.imports_descendants(full_sessions_selection)) {
   254           for (name <- full_sessions.imports_descendants(full_sessions_selection)) {
   255             store.clean_output(database_server, name) match {
   255             store.clean_output(database_server, name, progress = progress)
   256               case None =>
       
   257               case Some(true) => progress.echo("Cleaned " + name)
       
   258               case Some(false) => progress.echo(name + " FAILED to clean")
       
   259             }
       
   260           }
   256           }
   261         }
   257         }
   262 
   258 
   263         val results = engine.run_build_process(build_context, progress, server)
   259         val results = engine.run_build_process(build_context, progress, server)
   264 
   260