I'd run the `clean` task as the first thing before the rest of the `build`.