Can't get .rkt file to publish with Pollen?

I'm doing my class website with Pollen, but I ran into a weird issue today. I needed to include a .rkt file for students to download, but couldn't get Pollen to include it with the raco pollen publish command. I suspect I'm just doing something silly.

I have (require pollen/setup) at the top of my file and I've re-defined extra-path? to include the file at assignments/apcsp.rkt, I think. But when I try to publish, that file doesn't show up in the published folder.

(module setup racket/base
    (provide extra-path?)
  
    (define (extra-path? p)
      (cond
        [(equal? p (string->path "assignments/apcsp.rkt")) #t]
        [else #f])))

Anybody see what I'm doing wrong?

Thanks,
Todd

By temoporarily adding (displayln p) at the start of your new extra-path? function, you'll see when you run raco pollen publish that the paths that get passed in are absolute paths, not relative.

So the issue is in your comparison. For example, if you change your test to (string-contains? (path->string p) "assignments/apcsp.rkt") it will work!

edit to add: you should not need to add (require pollen/setup) at the top of your pollen.rkt unless you're specifically referring to its bindings elsewhere in there.