[racket] info.rkt `deps` (was: Package fails to compile during 'make in-place' but not 'raco pkg install')
Thanks Sam and Matthew for the replies.
So IIUC I need to update the info.rkt deps to include _all_
collections required among all the package's source files.
It seems that could be somewhat error-prone and/or tedious.
Although I haven't tried it, I seem to recall there's a tool to check
for unnecessary requires? I imagine that tool knows the necessary
requires, too. I wonder if it could be updated to output that list,
which would help with this.
In addition to running on just one .rkt file, it would be ideal to
give it a directory that's a package root, and it goes ahead and
updates all the *.rkt files (deleting unnecessary requires) and also
the info.rkt (updating the `deps` list). Then you could `git diff` to
review, and commit.
Unless someone has already done this (or wants to) I guess I'll take a
crack at that.