I've pushed changes so that the set of module suffixes is extensible
through a `module-suffixes` definition in a collection's "info.rkt".
Adding a new suffix affects compilation and testing in all collections.
(The suffixes ".rkt", ".scrbl", ".ss", and ".scm" remain hard-wired
in the set.)

Module suffixes are recognized by `raco setup`, `raco pkg` (via `raco
setup`), `raco test`, and DrRacket (in the file dialog, for example).

Previously, I had refrained from adding ".ss" or ".scm" support to
`raco test`. Making `raco test` different seems worse than perpetuating
the old suffixes, so ".ss" and ".scm" are now recognized by `raco test`
like everything else. In collections that have ".ss" and ".scm" files,
test configurations may have to be adjusted.


For tools that need to recognize suffixes, there's a new
`compiler/module-suffix` library.

There was already a function, `extract-base-filename/ss`, that was
intended long ago to be a central point of control for module suffixes,
but it was awkward and not general enough. Its implementation now uses
`compiler/module-suffix`.

-- 
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