(f string)
| 379 | } |
| 380 | |
| 381 | func (s *List) processFileOrList(f string) { |
| 382 | if f[0] == '@' { |
| 383 | // List file |
| 384 | if err := s.processList(f[1:]); err != nil { |
| 385 | s.setFatalErr(fmt.Errorf("error parsing list file %q: %v", f[1:], err)) |
| 386 | } |
| 387 | } else { |
| 388 | // Regular file, just enqueue for processing |
| 389 | s.ci.ProcessFile(f) |
| 390 | } |
| 391 | } |
| 392 | |
| 393 | func (s *List) Run(inch chan<- *baker.Data) error { |
| 394 | s.ci.SetOutputChannel(inch) |
no test coverage detected