Skip to content

Commit 2b95e55

Browse files
authored
Update build.cs
enable source generator for build
1 parent ac9a63d commit 2b95e55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎build.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
foreach (var script in Directory.GetFiles(Directory.GetCurrentDirectory(), "*.cs", SearchOption.AllDirectories))
22
{
33
Console.WriteLine($"Compile script {script} test begin");
4-
CommandExecutor.ExecuteCommandAndOutput($"dotnet-exec {script} --dry-run").EnsureSuccessExitCode();
4+
CommandExecutor.ExecuteCommandAndOutput($"dotnet-exec {script} --generator --dry-run").EnsureSuccessExitCode();
55
Console.WriteLine($"Compile script {script} test pass");
66
}

0 commit comments

Comments
 (0)