Skip to content

Commit b7458ac

Browse files
committed
build: output dotnet-exec info
1 parent 200591a commit b7458ac

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build/build.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@
2828
})
2929
.WithTaskExecuting(task => Console.WriteLine($@"===== Task {task.Name} {task.Description} executing ======"))
3030
.WithTaskExecuted(task => Console.WriteLine($@"===== Task {task.Name} {task.Description} executed ======"))
31-
.WithTask("hello", b => b.WithExecution(() => Console.WriteLine("Hello dotnet-exec build")))
31+
.WithTask("hello", b => b.WithExecution(async () =>
32+
{
33+
Console.WriteLine("Hello dotnet-exec build");
34+
await ExecuteCommandAsync("dotnet-exec info");
35+
}))
3236
.WithTask("build", b =>
3337
{
3438
b.WithDescription("dotnet build")

0 commit comments

Comments
 (0)