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

Clean doesn't remove build rewrite files #321

Open
markehammons opened this issue Jun 4, 2023 · 2 comments
Open

Clean doesn't remove build rewrite files #321

markehammons opened this issue Jun 4, 2023 · 2 comments

Comments

@markehammons
Copy link

Files generated by build rewrites are not cleaned by bleep clean. I don't know if this is expected behavior, but it seems like a potential issue.

@oyvindberg
Copy link
Owner

The way things are setup now you run commands like clean and compile in the context of a build variant (build variant = build file + rewrites). clean in intellij cleans thebsp build variant, clean from the command line cleans the normal build variant. And if you run clean from a script which is setup with build rewrites it cleans the corresponding directory.

Maybe clean should behave differently, but I'm not sure.

@markehammons
Copy link
Author

Maybe a way to tell clean to clean a specific build variant (and or an --all flag) would be good? If my build variant enters a bad state, it sounds like aside from rm -rf of the build variant directory, my option is to call clean within a script using that variant, which makes for potentially many scripts to clean the state of the build variants if you have many. Naturally I don't want to have clean embedded in my script by default, and adding arguments that trigger a clean, etc. is extra work

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

No branches or pull requests

2 participants