Supporting folders with dots in their names

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 https://bugs.swift.org/browse/SR-14892

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.

Terms of Service

Privacy Policy

Cookie Policy