equal
deleted
inserted
replaced
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 |