Skip to content

Commit

Permalink
Execute PackSplunkDistribution after AddSplunkDistribution (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Oct 20, 2022
1 parent 736485e commit 7c92a3d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ static string GetOTelAutoInstrumentationFileName()
return fileName;
}

Target AddSplunkDistribution => _ => _
.After(UnpackAutoInstrumentationDistribution)
Target AddSplunkPlugins => _ => _
.After(Compile)
.Executes(() =>
{
FileSystemTasks.CopyFileToDirectory(
Expand All @@ -97,7 +97,7 @@ static string GetOTelAutoInstrumentationFileName()
});

Target PackSplunkDistribution => _ => _
.After(Compile)
.After(AddSplunkPlugins)
.Executes(() =>
{
var fileName = GetOTelAutoInstrumentationFileName();
Expand Down Expand Up @@ -143,8 +143,8 @@ static string GetOTelAutoInstrumentationFileName()
.DependsOn(Restore)
.DependsOn(DownloadAutoInstrumentationDistribution)
.DependsOn(UnpackAutoInstrumentationDistribution)
.DependsOn(AddSplunkDistribution)
.DependsOn(Compile)
.DependsOn(AddSplunkPlugins)
.DependsOn(RunUnitTests)
.DependsOn(RunIntegrationTests)
.DependsOn(PackSplunkDistribution);
Expand Down

0 comments on commit 7c92a3d

Please sign in to comment.