Skip to content

Use: Detect Package.swift as a project marker#536

Open
vvaditya23 wants to merge 2 commits into
swiftlang:mainfrom
vvaditya23:av/detect-package-file
Open

Use: Detect Package.swift as a project marker#536
vvaditya23 wants to merge 2 commits into
swiftlang:mainfrom
vvaditya23:av/detect-package-file

Conversation

@vvaditya23
Copy link
Copy Markdown

@vvaditya23 vvaditya23 commented May 12, 2026

This PR fixes issue#430

Running swiftly use <version> before initialising git repository sets the global default instead of creating a local .swift-version file.
Address this short-coming by adding Package.swift to the set of markers that count as a project root.

Fix demo:

issue-430-fix.mov

@vvaditya23 vvaditya23 force-pushed the av/detect-package-file branch from 286eeb9 to fd1efc8 Compare May 19, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swiftly use should be able to detect that my folder has a Package.swift

1 participant