File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,13 @@ object LaikaBuild {
8686 ).toURL()
8787
8888 InputTree [IO ]
89+ // Exclude only the directory named .well-known when scanning parent dirs (e.g. src),
90+ // so it is never included twice. We add it explicitly below so it appears on all platforms.
91+ // (On Unix it's already skipped as hidden; on Windows it is included, causing duplicates.)
92+ .withFileFilter(FileFilter .lift(_.name == " .well-known" ))
8993 .addDirectory(" src" )
90- // Laika skips .dotfiles by default
94+ // Laika skips .dotfiles by default (Unix); we add .well-known explicitly so
95+ // it is included on all platforms at the correct virtual path.
9196 .addDirectory(" src/.well-known" , Path .Root / " .well-known" )
9297 .addInputStream(
9398 IO .blocking(securityPolicy.openStream()),
You can’t perform that action at this time.
0 commit comments