Skip to content

Ability to specify dependency targets to skip at the CLI #1341

@jnm2

Description

@jnm2

There are often times where I am developing a task at the end of a list of targets. During this temporary development I want to run the target frequently without running the targets it depends on.
Naturally I comment out the .IsDependentOn for the task under development. However I'd strongly prefer to be able to specify -Target X -SkipTarget Y -SkipTarget Z or something similar. I don't want to make any changes to the file on account of temporary development. This way I can commit as I make progress without forgetting to uncomment and recomment.

I'd also prefer not to build a hierarchy where Release depends on Test and ReleaseWithoutTest or introduce environment variables or any other kind of script boilerplate just for the sake of being able to temporarily skip a given target.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions