Add source flag to nuget.exe install

`-Source 'https://nuget.org/api/v2'`

Works around NuGet 3 issues. Necessary with the MonoProject's
mono-devel (which is used in the Docker build container).
This commit is contained in:
Andrew Schwartzmeyer
2015-08-05 16:45:19 -07:00
parent 90de5ae488
commit ad91eb52c3
+3 -3
View File
@@ -136,9 +136,9 @@ dotnetlibs/api-ms-win-core-registry-l1-1-0.dll: ../src/win-dll/lib-api-ms-win-co
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 -Version 1.0.21 System.Reflection.Metadata
cd buildtemp && mono nuget.exe install -Version 1.1.36 System.Collections.Immutable
cd buildtemp && mono nuget.exe install -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.0.21 System.Reflection.Metadata
cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.1.36 System.Collections.Immutable
cd buildtemp && mono nuget.exe install -Source 'https://nuget.org/api/v2' -Version 1.0.0-rc3-20150520-02 Microsoft.Net.ToolsetCompilers
# this is an internal target, it's not intended to be called manually
#