mkdist icon indicating copy to clipboard operation
mkdist copied to clipboard

fix(cli): fixed cleanDist with addition of --no-clean option

Open metaory opened this issue 10 months ago โ€ข 0 comments

๐Ÿ”— 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.

metaory avatar Apr 25 '24 22:04 metaory