Repository navigation
sf-mod-build 0.5.2
What's new
- A second build can no longer delete files you keep in
creationsOut. Before, acreationsOutfolder inside dist was emptied by the next build's plugin step, your own files in it included. Nowvalidateand every build stop with exit 2 whencreationsOutis dist or inside dist, and the plugin step never deletes thecreationsOutfolder. The same check refuses azip.folderthat is the stage folder or inside it, because every build empties stage and the zips would go with it. - The default settings are not affected:
creations-outand the defaultzip.folder(the mod's own folder) are outside dist and stage.
Example
A mod whose sfmod.json says "creationsOut": "dist/creations" now stops before it can lose anything:
> sf-mod-build validate
PROBLEM: C:\Mods\MyMod\sfmod.json: creationsOut: it is inside dist (C:\Mods\MyMod\dist), which the plugin step empties on every build, files you added included. Fix: use a folder of its own, for example "creations-out".
RESULT: 1 PROBLEM(S) in C:\Mods\MyMod\sfmod.json; fix them and run validate again
Change it to "creationsOut": "creations-out" and run again.
Check each download against SHA256SUMS or its .sha256 file.