Open
Description
The clean task is currently a separate script, which is already problematic:
- Fix mod project paths containing spaces #56 isn't applied to cleaning logic
clean_cooker_output.ps1
had to be a separate file (it's called from both clean and build) and duplicates logic from build:
X2ModBuildCommon/clean_cooker_output.ps1
Lines 6 to 8 in 9c81722
clean.ps1
is forced to use some flaky logic due to lack of access to project'sContentOptions.json
Lines 22 to 24 in 9c81722
Fixing this however requires significantly changing how individual projects consume X2MBC (and some internal refactor of X2MBC)
cc @robojumper