equal
deleted
inserted
replaced
235 |
235 |
236 /* next build */ |
236 /* next build */ |
237 |
237 |
238 if (multicore_base && first_build && isabelle_output_log.is_dir) |
238 if (multicore_base && first_build && isabelle_output_log.is_dir) |
239 Isabelle_System.copy_dir(isabelle_output_log, isabelle_base_log) |
239 Isabelle_System.copy_dir(isabelle_output_log, isabelle_base_log) |
|
240 |
|
241 Isabelle_System.rm_tree(isabelle_output) |
240 |
242 |
241 first_build = false |
243 first_build = false |
242 |
244 |
243 (res, log_path) |
245 (res, log_path) |
244 } |
246 } |
365 File.bash_string(isabelle_admin + "/build_history") + " " + options + " " + |
367 File.bash_string(isabelle_admin + "/build_history") + " " + options + " " + |
366 File.bash_string(ssh.remote_path(isabelle_repos_other)) + " " + args, |
368 File.bash_string(ssh.remote_path(isabelle_repos_other)) + " " + args, |
367 progress_stderr = progress.echo(_)).check |
369 progress_stderr = progress.echo(_)).check |
368 |
370 |
369 for (line <- result.out_lines; log = Path.explode(line)) |
371 for (line <- result.out_lines; log = Path.explode(line)) |
370 yield (log.base.implode, ssh.read_bytes(log)) |
372 yield { |
|
373 val bytes = ssh.read_bytes(log) |
|
374 ssh.rm(log) |
|
375 (log.base.implode, bytes) |
|
376 } |
371 } |
377 } |
372 } |
378 } |