Added the dnxtools feed to dotnet restore

This commit is contained in:
Ajay Bhargav Baaskaran 2016-03-08 12:25:47 -08:00
Родитель 333049433c
Коммит e6b43938a8
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -45,7 +45,7 @@ if (!($env:Path.Split(';') -icontains $dotnetLocalInstallFolderBin))
if (!(Test-Path "$koreBuildFolder\Sake"))
{
$toolsProject = "$koreBuildFolder\project.json"
&dotnet restore "$toolsProject" --packages "$koreBuildFolder" -v Minimal
&dotnet restore "$toolsProject" --packages "$koreBuildFolder" -f https://www.myget.org/F/dnxtools/api/v3/index.json -v Minimal
# Rename the project after restore because we don't want it to be restore afterwards
mv "$toolsProject" "$toolsProject.norestore"
# We still nuget because dotnet doesn't have support for pushing packages

Просмотреть файл

@ -78,7 +78,7 @@ echo "Using Reference Assemblies from: $DOTNET_REFERENCE_ASSEMBLIES_PATH"
sakeFolder=$koreBuildFolder/Sake
if [ ! -d $sakeFolder ]; then
toolsProject="$koreBuildFolder/project.json"
dotnet restore "$toolsProject" --packages "$koreBuildFolder" -v Minimal
dotnet restore "$toolsProject" --packages "$koreBuildFolder" -f https://www.myget.org/F/dnxtools/api/v3/index.json -v Minimal
# Rename the project after restore because we don't want it to be restore afterwards
mv "$toolsProject" "$toolsProject.norestore"
fi