Skip to content

Commit

Permalink
chore: Move logging of API generation to include non-micro/proto APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Dec 9, 2024
1 parent c4fd13c commit db578fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public int Execute(string[] args)

foreach (var api in apis)
{
Console.WriteLine($"{DateTime.UtcNow:yyyy-MM-dd'T'HH:mm:ss.fff}Z Generating {api.Id}");
if (api.Generator != GeneratorType.None)
{
Generate(api);
Expand All @@ -119,7 +120,6 @@ public int Execute(string[] args)
private void Generate(ApiMetadata api)
{
var layout = DirectoryLayout.ForApi(api.Id, generatorOutputDirectory, generatorInputDirectory);
Console.WriteLine($"{DateTime.UtcNow:yyyy-MM-dd'T'HH:mm:ss.fff}Z Generating {api.Id}");
MaybeRunScript("pregeneration.sh");
switch (api.Generator)
{
Expand Down

0 comments on commit db578fc

Please sign in to comment.