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 `Skip` and `NoDeps` options

pellared opened this issue · comments

Why

Sometimes one would like to skip a task together with its dependencies (phase/pipeline). E.g. one could like to run all without mod-tidy.

What

Add Skip option that allows skipping processing of provided task(s) (and its dependencies) during flow execution.

Add NoDeps option to allow skipping processing of all dependencies.

Other

It cannot be done via middleware as it an interceptor during action run which is too late.