Skip to content

Commit

Permalink
Improve MSBUILD event naming
Browse files Browse the repository at this point in the history
  • Loading branch information
elzik committed Apr 4, 2024
1 parent a3a1836 commit bf5662f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Elzik.FmSync.Console/Elzik.FmSync.Console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@
</None>
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="ConsolePostBuildConfigUpdate" AfterTargets="PostBuildEvent">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)../../Build/set-platform-specific-config.ps1 $(OutDir) $(OS)" />
</Target>

<Target Name="PostPublish" AfterTargets="Publish">
<Target Name="ConsolePostPublishConfigUpdate" AfterTargets="Publish">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)../../Build/set-platform-specific-config.ps1 $(PublishDir) $(OS)" />
</Target>

Expand Down
4 changes: 2 additions & 2 deletions src/Elzik.FmSync.Worker/Elzik.FmSync.Worker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
<ProjectReference Include="..\Elzik.FmSync.Infrastructure\Elzik.FmSync.Infrastructure.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="WorkerPostBuildConfigUpdate" AfterTargets="PostBuildEvent">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)../../Build/set-platform-specific-config.ps1 $(OutDir) $(OS)" />
</Target>

<Target Name="PostPublish" AfterTargets="Publish">
<Target Name="WorkerPostPublishConfigUpdate" AfterTargets="Publish">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)../../Build/set-platform-specific-config.ps1 $(PublishDir) $(OS) " />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</ItemGroup>


<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="ConsoleFunctionalTestsPostBuildConfigUpdate" AfterTargets="PostBuildEvent">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)/../../Build/set-platform-specific-config.ps1 $(OutDir) $(OS)" />
</Target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</ItemGroup>


<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="WorkerFunctionalTestsPostBuildConfigUpdate" AfterTargets="PostBuildEvent">
<Exec Command="PowerShell -NoProfile -ExecutionPolicy unrestricted -file $(ProjectDir)/../../Build/set-platform-specific-config.ps1 $(OutDir) $(OS)" />
</Target>

Expand Down

0 comments on commit bf5662f

Please sign in to comment.