Skip to content

Commit

Permalink
pre-build events
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianhuang committed Jun 10, 2024
1 parent a0c7f96 commit 593218d
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tests/CsOpenApi3Tests/CsOpenApi3Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<Import Project="..\OpenApi3Shared\OpenApi3Shared.projitems" Label="Shared" />

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)Results/ $(TargetDir)&#xD;&#xA;" />
</Target>

Expand Down
2 changes: 1 addition & 1 deletion Tests/CsSwagger2Tests/CsSwagger2Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<ProjectReference Include="..\CsTestHelpers\CsTestHelpers.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)Results/ $(TargetDir)&#xD;&#xA;" />
</Target>

Expand Down
2 changes: 1 addition & 1 deletion Tests/NG2OpenApi3Tests/NG2OpenApi3Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

<Import Project="..\OpenApi3Shared\OpenApi3Shared.projitems" Label="Shared" />

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)Results/ $(TargetDir)&#xD;&#xA;" />
</Target>

Expand Down
2 changes: 1 addition & 1 deletion Tests/NG2Tests/NG2Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<ProjectReference Include="..\TsTestHelpers\TsTestHelpers.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)SwagMock/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)Results/ $(TargetDir)&#xD;&#xA;" />
</Target>

Expand Down
2 changes: 1 addition & 1 deletion Tests/SwagTests/SwagTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<ProjectReference Include="..\TsTestHelpers\TsTestHelpers.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)SwagMock/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)Results/ $(TargetDir)&#xD;&#xA;" />
</Target>

Expand Down
2 changes: 1 addition & 1 deletion Tests/SwagTsTests/SwagTsTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<ProjectReference Include="..\TsTestHelpers\TsTestHelpers.csproj" />
</ItemGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
<Exec Command="pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)SwagMock/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)NG2Results/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)NG2FormGroupResults/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)AureliaResults/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)AxiosResults/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)FetchResults/ $(TargetDir)&#xD;&#xA;pwsh -File ../../PowershellScripts/CopyFiles.ps1 $(ProjectDir)JqResults/ $(TargetDir)" />
</Target>

Expand Down

0 comments on commit 593218d

Please sign in to comment.