mkdist
mkdist copied to clipboard
fix(cli): fixed cleanDist with addition of --no-clean option
๐ Linked issue
#216 The option cleanDist was never added to args of citty
โ Type of change
- [ ] ๐ Documentation (updates to the documentation, readme, or JSdoc annotations)
- [x] ๐ Bug fix (a non-breaking change that fixes an issue)
- [ ] ๐ Enhancement (improving an existing functionality like performance)
- [ ] โจ New feature (a non-breaking change that adds functionality)
- [ ] ๐งน Chore (updates to the build process or auxiliary tools and libraries)
- [ ] โ ๏ธ Breaking change (fix or feature that would cause existing functionality to change)
๐ Description
:x: every build is cleaning the dist/
I'm aware the cleanDist option was added on: f613c17 support cleanDist option was added by @pi0 long time ago
:warning: but no cli arg was ever added
This PR Resolves #216
It add a new optional cli arg --no-clean
when provided the make function wont clean the dist path
Default behavior continues as before, with clean being true
๐ Checklist
- [x] I have linked an issue or discussion.
- [x] I have updated the documentation accordingly.