Skip to content

Fix clean command to not remove README and __init__.py #22

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

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

dalito
Copy link
Member

@dalito dalito commented Feb 6, 2025

Fixes the too brutal directory clean-up from linkml_project_cookiecutter.

This only fixes the just clean command but not make clean (since we'll remove make support #2).

We use Python to selectively delete in the folders. Using the Python in this case was easier than finding a shell script solution that works everywhere.

@dalito dalito added this to the Release 0.1.3 milestone Feb 6, 2025
@dalito dalito self-assigned this Feb 7, 2025
@dalito dalito merged commit b7c31b0 into main Feb 7, 2025
1 check passed
@dalito dalito deleted the careful-clean branch February 7, 2025 11:17
@dalito dalito added the _project Related to the generated project label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
_project Related to the generated project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant