src/Pure/System/build.scala
changeset 48368 dc538eef2cf2
parent 48364 9091b659d7b6
child 48370 d0fa3efec93b
equal deleted inserted replaced
48367:680d297ec71b 48368:dc538eef2cf2
   255   def build(all_sessions: Boolean, build_images: Boolean, list_only: Boolean,
   255   def build(all_sessions: Boolean, build_images: Boolean, list_only: Boolean,
   256     more_dirs: List[Path], options: List[String], sessions: List[String]): Int =
   256     more_dirs: List[Path], options: List[String], sessions: List[String]): Int =
   257   {
   257   {
   258     val full_queue = find_sessions(more_dirs)
   258     val full_queue = find_sessions(more_dirs)
   259 
   259 
       
   260     val build_options = (Options.init() /: options)(_.define_simple(_))
       
   261 
   260     sessions.filter(name => !full_queue.defined(name)) match {
   262     sessions.filter(name => !full_queue.defined(name)) match {
   261       case Nil =>
   263       case Nil =>
   262       case bad => error("Undefined session(s): " + commas_quote(bad))
   264       case bad => error("Undefined session(s): " + commas_quote(bad))
   263     }
   265     }
   264 
   266