From ed806cd061bbff7fe26708b8c0611b10794796c4 Mon Sep 17 00:00:00 2001 From: Skyler Ferris Date: Sat, 7 Sep 2024 11:29:26 -0700 Subject: [PATCH] Include sig files if they are in the static directory. --- haunt.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haunt.scm b/haunt.scm index 9129985..a703e70 100644 --- a/haunt.scm +++ b/haunt.scm @@ -42,7 +42,8 @@ (define (file-filter file-name) (and (haunt.default-file-filter file-name) - ((negate (haunt.make-file-extension-matcher "sig")) file-name) + (or (string-prefix? "static/" file-name) + ((negate (haunt.make-file-extension-matcher "sig")) file-name)) ((negate (haunt.make-file-extension-matcher "diff")) file-name) (not (string-suffix? "README" file-name)))) -- 2.45.2