src/Pure/Tools/build.scala
changeset 64081 38bb09ed965b
parent 64080 2e5c0bd708af
child 64082 d57c7295f601
equal deleted inserted replaced
64080:2e5c0bd708af 64081:38bb09ed965b
   728     -v           verbose
   728     -v           verbose
   729     -x NAME      exclude session NAME and all descendants
   729     -x NAME      exclude session NAME and all descendants
   730 
   730 
   731   Build and manage Isabelle sessions, depending on implicit settings:
   731   Build and manage Isabelle sessions, depending on implicit settings:
   732 
   732 
   733 """ + Library.prefix_lines("  ", Build_Log.Setting.show_all()),
   733 """ + Library.prefix_lines("  ", Build_Log.Settings.show()),
   734       "D:" -> (arg => select_dirs = select_dirs ::: List(Path.explode(arg))),
   734       "D:" -> (arg => select_dirs = select_dirs ::: List(Path.explode(arg))),
   735       "R" -> (_ => requirements = true),
   735       "R" -> (_ => requirements = true),
   736       "X:" -> (arg => exclude_session_groups = exclude_session_groups ::: List(arg)),
   736       "X:" -> (arg => exclude_session_groups = exclude_session_groups ::: List(arg)),
   737       "a" -> (_ => all_sessions = true),
   737       "a" -> (_ => all_sessions = true),
   738       "b" -> (_ => build_heap = true),
   738       "b" -> (_ => build_heap = true),
   755     if (verbose) {
   755     if (verbose) {
   756       progress.echo(
   756       progress.echo(
   757         Library.trim_line(
   757         Library.trim_line(
   758           Isabelle_System.bash(
   758           Isabelle_System.bash(
   759             """echo "Started at $(date) ($ML_IDENTIFIER on $(hostname))" """).out) + "\n")
   759             """echo "Started at $(date) ($ML_IDENTIFIER on $(hostname))" """).out) + "\n")
   760       progress.echo(Build_Log.Setting.show_all() + "\n")
   760       progress.echo(Build_Log.Settings.show() + "\n")
   761     }
   761     }
   762 
   762 
   763     val start_time = Time.now()
   763     val start_time = Time.now()
   764     val results =
   764     val results =
   765       progress.interrupt_handler {
   765       progress.interrupt_handler {