IsDependentOn with multiple tasks
- Dominant language
- C#
- Stars
- 4.2k
- Forks
- 778
- Avg merge
- 3h 37m
- Merged PRs (30d)
- 21
Description
I'd like to be able to use `IsDependentOn(IEnumerable<> tasks)`:
```c#
var tests = new[]
{
Task("Test 1").Does(() =>
{
// ...
}),
Task("Test 2").Does(() =>
{
// ...
}),
Task("Process output containing format string should succeed").Does(() =>
{
// ...
}),
};
var target = Argument("target", "Default");
Task("Default")
.IsDependentOn(tests);
RunTarget(target);
```
Contributor guide
Research direction
Start at the IsDependentOn API and trace how the existing task dependency call handles its arguments. Confirm how the IEnumerable overload should behave with the tasks in the example, then verify that the Default target depends on all three tasks when RunTarget(target) is used.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100