Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Revert change to InitBaseDotnetCli
Browse files Browse the repository at this point in the history
  • Loading branch information
mellinoe committed May 3, 2017
1 parent 97bb1bc commit bd5f1ce
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/test/dir.proj
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,16 @@
DependsOnTargets="DetermineTestOutputDirectory">
<PropertyGroup>
<TestToolsLocalPath Condition="'$(TestToolsLocalPath)' == ''">$(TestsOutputDir)Tools</TestToolsLocalPath>
<BootstrapCommand Condition="'$(OSGroup)' == 'Windows_NT'">powershell -NoProfile -ExecutionPolicy unrestricted -Command "$(MSBuildThisFileDirectory)bootstrap/bootstrap.ps1" -ToolsLocalPath $(TestToolsLocalPath) -Architecture $(TargetArchitecture)</BootstrapCommand>
<BootstrapCommand Condition="'$(OSGroup)' != 'Windows_NT'">$(MSBuildThisFileDirectory)bootstrap/bootstrap.sh --toolsLocalPath $(TestToolsLocalPath)</BootstrapCommand>
<DotnetTestToolCommand Condition="'$(DotnetTestToolCommand)'=='' and '$(OsEnvironment)'!='Unix'">$(TestToolsLocalPath)/dotnetcli/dotnet.exe</DotnetTestToolCommand>
<DotnetTestToolCommand Condition="'$(DotnetTestToolCommand)'=='' and '$(OsEnvironment)'=='Unix'">$(TestToolsLocalPath)/dotnetcli/dotnet</DotnetTestToolCommand>
</PropertyGroup>

<ItemGroup>
<SeedCliCopyFiles Include="$(DotnetSdkPath)/**/*" />
</ItemGroup>
<Copy SourceFiles="@(SeedCliCopyFiles)"
DestinationFiles="@(SeedCliCopyFiles->'$(TestToolsLocalPath)/dotnetcli/%(RecursiveDir)%(Filename)%(Extension)')" />
<Exec Command="$(BootstrapCommand)"
WorkingDirectory="$(MSBuildThisFileDirectory)bootstrap/" />
</Target>


<Target Name="RestoreTests">
<ItemGroup>
<RestoreTest Include="$(TestDir)/**/*.csproj" />
Expand Down

0 comments on commit bd5f1ce

Please sign in to comment.