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

bin/tapioca dsl --only should not purge existing directory #1612

Open
KaanOzkan opened this issue Aug 17, 2023 · 0 comments
Open

bin/tapioca dsl --only should not purge existing directory #1612

KaanOzkan opened this issue Aug 17, 2023 · 0 comments
Labels
enhancement New feature or request good-first-issue Good for newcomers

Comments

@KaanOzkan
Copy link
Contributor

I believe --only is mostly used as a debugging tool to test specific compiler output. However, its output is hard to understand since tapioca purges the files that aren't generated and creates a large diff

files_to_purge = existing_rbi_files - generated_files

We could skip the purging if --only is present. Am I missing any valid use cases where --only will be used permanently by a repo? In that case we could have a separate flag to skip purging.

@KaanOzkan KaanOzkan added enhancement New feature or request good-first-issue Good for newcomers labels Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good-first-issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant