We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200591a commit b7458acCopy full SHA for b7458ac
build/build.cs
@@ -28,7 +28,11 @@
28
})
29
.WithTaskExecuting(task => Console.WriteLine($@"===== Task {task.Name} {task.Description} executing ======"))
30
.WithTaskExecuted(task => Console.WriteLine($@"===== Task {task.Name} {task.Description} executed ======"))
31
- .WithTask("hello", b => b.WithExecution(() => Console.WriteLine("Hello dotnet-exec build")))
+ .WithTask("hello", b => b.WithExecution(async () =>
32
+ {
33
+ Console.WriteLine("Hello dotnet-exec build");
34
+ await ExecuteCommandAsync("dotnet-exec info");
35
+ }))
36
.WithTask("build", b =>
37
{
38
b.WithDescription("dotnet build")
0 commit comments