clearlinux / mixer-tools

Software update mixer and related tools
Apache License 2.0
28 stars 37 forks source link

Always clean mix workspace before building bundles #714

Closed jwakre closed 4 years ago

jwakre commented 4 years ago

Existing image and output directories for the current mix version will be removed when building a mix. This prevents mixer from building on top of directories contaminated by a prior mix.

Fixes #669

jwakre commented 4 years ago

After offline discussion, I decided to only clean the current mix version with this PR. At this time, Mixer will not clean mix output ahead of the current mix version.

ashleshaAtrey commented 4 years ago

I think clean-rebuild bat test uses the clean flag. We can remove the flag from that test

jwakre commented 4 years ago

@ashleshaAtrey I removed the --clean flag from the tests. Also, I added a check to verify that mixer build bundles removes update/www/\<mixver>.