How can source-omit-files exclude a directory?

13 views
Skip to first unread message

Ryan Kramer

unread,
May 27, 2020, 10:48:04 AM5/27/20
to Racket Users
I have a multi-collection package and I wanted to exclude a certain directory (plisqin-test) from being a package. I found the relevant documentation here: https://docs.racket-lang.org/pkg/strip.html.

The first thing I tried was simply adding a `~` to the end of the directory. This worked. Then I kept reading and found `source-omit-files` which sounds like a better way, but I couldn't get it to work. I tried adding the following to the info.rkt of the multi-collection package (and maybe a few more), but none of them worked:

(define source-omit-files
  '("plisqin-test"
    "plisqin-test/"
    "plisqin/plisqin-test"
    "plisqin/plisqin-test/"))

Is it possible to exclude an entire collection using the info.rkt of a multi-collection package? (For reference, this is the package in question: https://github.com/default-kramer/plisqin/tree/d44effd731b1c6d8c924ec311da43d8755f07049)
Reply all
Reply to author
Forward
0 new messages