goyek / goyek

Task automation Go library

Home Page:https://pkg.go.dev/github.com/goyek/goyek/v2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a global parameter to skip running dependencies

pellared opened this issue · comments

Why

Skipping tasks can greatly improve your troubleshooting experience. Irrelevant targets won't waste execution time.

What

Add a global parameter -no-deps that enables disabling dependencies execution. The tasks would be executed in order as they are passed for execution.

This would almost "disable" the possibility to run "workflows" (a task that is supposed just to run a set of tasks).
We would need to create another mechanism to define workflows and make it possible to run them without dependencies.
It may be too complex.