bleep icon indicating copy to clipboard operation
bleep copied to clipboard

Clean doesn't remove build rewrite files

Open markehammons opened this issue 1 year ago • 2 comments

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.

markehammons avatar Jun 04 '23 15:06 markehammons

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.

oyvindberg avatar Jun 06 '23 07:06 oyvindberg

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

markehammons avatar Jun 07 '23 15:06 markehammons