Skip to content

Commit

Permalink
Don't restore during build, allow test skipping
Browse files Browse the repository at this point in the history
  • Loading branch information
mellinoe committed Apr 24, 2016
1 parent db70346 commit ac59741
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions corebuild.targets
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
<!-- This is pointless, so disable it. -->
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>

<!-- NOTE: FIX -->
<PackagesDir>$(HOME)/.nuget/packages/</PackagesDir>
<DnuRestoreCommand>$DOTNET_CMD restore</DnuRestoreCommand>
<RestorePackages>false</RestorePackages>
</PropertyGroup>

<Import Project="$(MSBuildThisFileDirectory)\coreconsole.targets" />
Expand Down
2 changes: 1 addition & 1 deletion test.targets
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<Target Name="Test">
<Exec Command="$(TestCommand)"
WorkingDirectory="$(OutputPath)"
Condition="'$(buildinginsidevisualstudio)' != 'true'" />
Condition="'$(buildinginsidevisualstudio)' != 'true' And '$(SkipTests)' != 'true'" />
</Target>

<!-- Set up the debug target for CoreCLR executables -->
Expand Down

0 comments on commit ac59741

Please sign in to comment.