go-task / task

A task runner / simpler Make alternative written in Go
https://taskfile.dev
MIT License
11.57k stars 618 forks source link

feat: exclude task from being included #1859

Open vmaerten opened 1 month ago

vmaerten commented 1 month ago

Allow some tasks to be excluded.

This can be useful in combination with the flatten feature, as it enables the exclusion of conflicting tasks.

It would supersede this PR: https://github.com/go-task/task/pull/1748

[!NOTE] I've also fixed some formatting in the flatten section in the website

Feel free to suggest improvements to the documentation, as I am not a native English speaker.

vmaerten commented 1 month ago

@elocke do you think it could solve your usecase ?

elocke commented 1 month ago

@elocke do you think it could solve your usecase ?

Just realized my notifications are off, apologies. I had to think about it but this would cover my use case and be more explicit than my idea. Thanks, excited to give it a whirl!

elocke commented 6 days ago

@andreynering @pd93 Any ETA on when this could be reviewed? I would love to get working on using this in our CI refactor. Thanks much!