|
|
@ -66,9 +66,9 @@
|
|
|
|
#:break (null? paths))
|
|
|
|
#:break (null? paths))
|
|
|
|
(match (->complete-path (car paths))
|
|
|
|
(match (->complete-path (car paths))
|
|
|
|
[(? pagetree-source? pt) (values (append (pagetree->paths pt) (cdr paths)) acc)]
|
|
|
|
[(? pagetree-source? pt) (values (append (pagetree->paths pt) (cdr paths)) acc)]
|
|
|
|
[(? ->source-path sp) #:when (file-exists? sp) (values (cdr paths) (cons sp acc))]
|
|
|
|
[(app ->source-path (and (not #false) (? file-exists?) sp)) (values (cdr paths) (cons sp acc))]
|
|
|
|
[_ (values (cdr paths) acc)])))
|
|
|
|
[_ (values (cdr paths) acc)])))
|
|
|
|
|
|
|
|
|
|
|
|
(define job-count
|
|
|
|
(define job-count
|
|
|
|
(match wants-parallel-render
|
|
|
|
(match wants-parallel-render
|
|
|
|
[#true (processor-count)]
|
|
|
|
[#true (processor-count)]
|
|
|
|