Re: [racket-users] Re: What is the best way to "raco make" all *.rkt files in a directory tree?

2019-03-11 Thread Ben Greenman
On 3/11/19, 'John Clements' via Racket Users wrote: > I would suggest maybe just using racket here: > > #lang racket > > (require setup/parallel-build) > > (define racket-files > (for/list ([file (in-directory "/tmp")] > #:when (regexp-match #px"\\.rkt$" file)) > file)) > >

Re: [racket-users] Re: What is the best way to "raco make" all *.rkt files in a directory tree?

2019-03-11 Thread 'John Clements' via Racket Users
I would suggest maybe just using racket here: #lang racket (require setup/parallel-build) (define racket-files (for/list ([file (in-directory "/tmp")] #:when (regexp-match #px"\\.rkt$" file)) file)) (parallel-compile-files racket-files #:worker-count

Re: [racket-users] Re: What is the best way to "raco make" all *.rkt files in a directory tree?

2019-03-11 Thread Eric Griffis
On Mon, Mar 11, 2019 at 12:04 PM Brian Adkins wrote: > > Hmm... maybe the problem was just my lack of shell skills. I think the > following works: > > raco make -j 8 */*.rkt This will only make the rkt files in subdirectories of the current working directory, excluding sub-subdirectories and