Say I have a folder with one or more periods in its name, such as foo.bar.

Is it possible to make SPM handle it as a folder, rather than a .bar bundle (which it expects me to list as a resource, or to exclude)?

For background, both macOS and Linux support dots in folder names, in the general case (except for extensions that are registered as bundles on macOS).

That sounds like a bug to me.

(macOS bundles are directories to anything below the GUI; Finder just recognizes the extension and displays them in a special way.)

Opened [SR-14892] SPM: handle directories with dots in their names · Issue #4405 · apple/swift-package-manager · GitHub

1 Like

I think this is related to pages.github.com's support for Jekyll.

I am now able to get my page.github.com to work with directory names that include a preceding dot (.)

The solution was to add a .nojekyll file in the root of my gh-pages branch.