Add back Windows condition
This commit is contained in:
parent
3682882be4
commit
db35770913
2 changed files with 4 additions and 2 deletions
|
@ -65,7 +65,8 @@
|
||||||
<Target Name="BuildTests"
|
<Target Name="BuildTests"
|
||||||
DependsOnTargets="RestoreTests;">
|
DependsOnTargets="RestoreTests;">
|
||||||
<DotNetBuild ToolPath="$(OutputDirectory)"
|
<DotNetBuild ToolPath="$(OutputDirectory)"
|
||||||
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln"" />
|
ProjectPath=""$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln""
|
||||||
|
MaxCpuCount="1" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="CreateTestAssetPackageNuPkgs"
|
<Target Name="CreateTestAssetPackageNuPkgs"
|
||||||
|
|
|
@ -162,7 +162,8 @@
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="ChmodPublishDir"
|
<Target Name="ChmodPublishDir"
|
||||||
AfterTargets="CrossgenPublishDir">
|
AfterTargets="CrossgenPublishDir"
|
||||||
|
Condition=" '$(OSName)' != 'win' ">
|
||||||
|
|
||||||
<Exec Command="find $(SdkOutputDirectory) -type d -exec chmod 755 {} \;" />
|
<Exec Command="find $(SdkOutputDirectory) -type d -exec chmod 755 {} \;" />
|
||||||
<Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" />
|
<Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" />
|
||||||
|
|
Loading…
Reference in a new issue