Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2083] [SwiftPM] Don't error if a directory contains only ignored files #5246

Closed
ddunbar opened this issue Jul 15, 2016 · 1 comment
Closed
Assignees
Labels

Comments

@ddunbar
Copy link
Member

ddunbar commented Jul 15, 2016

Previous ID SR-2083
Radar None
Original Reporter @ddunbar
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Bug, StarterBug
Assignee @ddunbar
Priority Medium

md5: c99ea8a96bda596c30e7cda7c9b28c85

Issue Description:

When switching branches, it is easy for a local directory to end up with stray temporary files. SwiftPM should ignore directories only containing files it would otherwise ignore when trying to issue an error like this:

error: the module at /Volumes/Data/ddunbar/public/swift-project/swiftpm/Tests/Commands does not contain any source files
fix: either remove the module folder, or add a source file to the module
--- bootstrap: error: build failed with exit status 1
$ ls Tests/Commands/
BuildToolTests.swift~   PackageToolTests.swift~ TestToolTests.swift~    XCTestManifests.swift~
@Bouke
Copy link
Contributor

Bouke commented Sep 28, 2016

PR: #710

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants