зеркало из https://github.com/aspnet/KoreBuild.git
Added the dnxtools feed to dotnet restore
This commit is contained in:
Родитель
333049433c
Коммит
e6b43938a8
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче