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

Remove class directories in clean #1740

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

Duhemm
Copy link
Collaborator

@Duhemm Duhemm commented Jun 22, 2022

Previously, bloop clean would only clear the results cache, but the
class files would be left untouched on the disk. This commit changes
this, so that the clean command doesn't exit until the classfiles of
the last result, and the classes directory of the current client are
deleted.

Fixes #1388

Previously, `bloop clean` would only clear the results cache, but the
class files would be left untouched on the disk. This commit changes
this, so that the `clean` command doesn't exit until the classfiles of
the last result, and the classes directory of the current client are
deleted.

Fixes scalacenter#1388
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

This is great! I've been meaning to look into this since clean compiler has not been very helpful in a lot of cases 🚀

@tgodzik tgodzik merged commit a132042 into scalacenter:main Jun 23, 2022
@Duhemm Duhemm deleted the clean-remove-classfiles branch June 23, 2022 11:27
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.

BSP clean request does not clean IntelliJ classes directory
2 participants