Refactor NuGet install step

This commit is contained in:
Andrew Schwartzmeyer 2015-09-18 13:19:45 -07:00
parent 050206ff8a
commit bb4739db78

View file

@ -122,12 +122,13 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co
# this is the manual step that will install some stuff using nuget and do other things that can't be dependency
# tracked that easily
NUGET_INSTALL=cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version
prepare:
rm -rf buildtemp/System.Reflection.Metadata.* buildtemp/System.Collections.Immutable.* buildtemp/Microsoft.Net.ToolsetCompilers.* buildtemp/nuget.exe
cp $(MONAD_EXT)/nuget/nuget.exe buildtemp/nuget.exe
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.21 System.Reflection.Metadata
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.1.36 System.Collections.Immutable
cd buildtemp && mono nuget.exe install -Source 'https://api.nuget.org/v3/index.json' -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
$(NUGET_INSTALL) 1.0.21 System.Reflection.Metadata
$(NUGET_INSTALL) 1.1.36 System.Collections.Immutable
$(NUGET_INSTALL) 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
# this is an internal target, it's not intended to be called manually
#