To add one more answer to this thread :-)

In addition to compiling files specified on the command line, `raco make` 
will recursively compile all files referenced via `require`.  This means 
that if you have a top level file for your application, you can tell `raco 
make` to compile that file, and it will compile all the files that it 
references, the will be compiled only if they have changed.  There is also 
a `-j` option which allows compiling in parallel.  So, for example, if the 
toplevel file in your application is main.rkt you can do:

    raco make -j 8 main.rkt

and all your project files will be updated.

Alex.

On Tuesday, March 12, 2019 at 3:00:34 AM UTC+8, Brian Adkins wrote:
>
> I looked over the documentation for raco make, and I didn't see anything 
> about how to recursively make all *.rkt files in a directory tree. I 
> suppose I could use something like:  find . -name \*.rkt | xargs raco make, 
> but I like being able to use all 8 "cores" with -j 8, and I *think* I'd 
> lose that with xargs.
>
> What is the best practice for making a tree of Racket code?
>
> Thanks,
> Brian
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to