Add back Windows condition

This commit is contained in:
Piotr Puszkiewicz 2017-02-28 19:30:43 -08:00
parent 3682882be4
commit db35770913
2 changed files with 4 additions and 2 deletions

View file

@ -65,7 +65,8 @@
<Target Name="BuildTests"
DependsOnTargets="RestoreTests;">
<DotNetBuild ToolPath="$(OutputDirectory)"
ProjectPath="&quot;$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln&quot;" />
ProjectPath="&quot;$(TestDirectory)/Microsoft.DotNet.Cli.Tests.sln&quot;"
MaxCpuCount="1" />
</Target>
<Target Name="CreateTestAssetPackageNuPkgs"

View file

@ -162,7 +162,8 @@
</Target>
<Target Name="ChmodPublishDir"
AfterTargets="CrossgenPublishDir">
AfterTargets="CrossgenPublishDir"
Condition=" '$(OSName)' != 'win' ">
<Exec Command="find $(SdkOutputDirectory) -type d -exec chmod 755 {} \;" />
<Exec Command="find $(SdkOutputDirectory) -type f -exec chmod 644 {} \;" />