Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cleanSubOutputDirectory allow clean up output directory before generating #150

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

quyenvsp
Copy link
Contributor

Clean up output directory for remove unused old file.

@gibahjoe
Copy link
Owner

This could potentially delete .openapi-generator-ignore ignore file in the generated code folder. This file is used to ignore files you do not want the generator to generate.

@quyenvsp
Copy link
Contributor Author

@gibahjoe yes it can and as expected. it depend on what user want, usually just use ['lib/src'] for sure old unused code will be delete. if they config [""] then should delete whole generated folder as they want.

@gibahjoe
Copy link
Owner

gibahjoe commented Nov 1, 2024

Thank you for your contribution. For future reference, please follow contribution guidelines especially pertaining to conventional commits

https://github.com/gibahjoe/openapi-generator-dart/blob/master/CONTRIBUTING.md

@gibahjoe gibahjoe merged commit 639cf5b into gibahjoe:master Nov 1, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants