Skip to content

Added clean build folder#2280

Merged
matthewbastien merged 9 commits into
swiftlang:mainfrom
Pradyumn-cloud:FIX-CleanBuild
Jul 8, 2026
Merged

Added clean build folder#2280
matthewbastien merged 9 commits into
swiftlang:mainfrom
Pradyumn-cloud:FIX-CleanBuild

Conversation

@Pradyumn-cloud

Copy link
Copy Markdown
Contributor

Description

Added a "Clean Build" task that automatically appears in VS Code's task menu when you open a Swift project. It runs swift package clean to remove build files. Updated the docs with examples.

Issue: #1499

Tasks

  • Required tests have been written
  • Documentation has been updated

@Pradyumn-cloud

Copy link
Copy Markdown
Contributor Author

@matthewbastien As you said I updated the PR. Let me know if you want further changes.

@matthewbastien matthewbastien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for putting this together! I just have a few minor comments about the tests and the name of the task.

Also, this change would be good to add to the changelog under an ### Added header. There are some examples of how to do that in the changelog file itself.

Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md Outdated
Comment thread src/tasks/SwiftTaskProvider.ts Outdated
Comment thread test/unit-tests/tasks/SwiftTaskProvider.test.ts Outdated
Comment thread test/unit-tests/tasks/SwiftTaskProvider.test.ts Outdated
Comment thread test/unit-tests/tasks/SwiftTaskProvider.test.ts Outdated
Comment thread test/unit-tests/tasks/SwiftTaskProvider.test.ts Outdated
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md Outdated

@matthewbastien matthewbastien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a chance to play around with this in my local dev environment and I've got a few more suggestions as to how we can improve the user experience/documentation.

Thank you for your patience! I know this is taking a little while, but I want to make sure that the documentation is easy to follow.

Comment thread src/tasks/SwiftTaskProvider.ts Outdated
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md Outdated
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md Outdated
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md
Comment thread userdocs/userdocs.docc/Articles/Features/automatic-task-creation.md Outdated

@matthewbastien matthewbastien left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@matthewbastien
matthewbastien merged commit f738fc0 into swiftlang:main Jul 8, 2026
57 of 58 checks passed
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.

2 participants