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

Improve bootstrap:clean task by removing tasks specific tasks within the taskfiles #1673

Closed
onedr0p opened this issue Jan 3, 2025 · 0 comments · Fixed by #1674
Closed

Improve bootstrap:clean task by removing tasks specific tasks within the taskfiles #1673

onedr0p opened this issue Jan 3, 2025 · 0 comments · Fixed by #1674

Comments

@onedr0p
Copy link
Owner

onedr0p commented Jan 3, 2025

When the bootstrap:clean task is ran some tasks in within the taskfiles can be removed (e.g. task init, task configure)

I tried using yq del(.tasks.init) -i Taskfile.yaml to accomplish this however it formats the files and removes whitespace and does other weird formatting. See: mikefarah/yq#465

There might be other tooling out there that can remove YAML while retaining the existing format of the files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant