Move repotasks props/targets to msbuild folder

This commit is contained in:
Nate McMaster 2017-07-05 10:32:28 -07:00
Родитель 19a1a278e5
Коммит 7f0cd60207
4 изменённых файлов: 6 добавлений и 4 удалений

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

@ -80,8 +80,9 @@ function BuildTaskProject {
Remove-Item $publishFolder -Recurse -Force
}
__exec dotnet restore $taskProj "/p:RepoTasksSdkPath=$PSScriptRoot/Sdks/KoreBuild.RepoTasks/"
__exec dotnet publish $taskProj --configuration Release --output $publishFolder "/p:RepoTasksSdkPath=$PSScriptRoot/Sdks/KoreBuild.RepoTasks/"
$sdkPath = "/p:RepoTasksSdkPath=$PSScriptRoot/msbuild/KoreBuild.RepoTasks.Sdk/Sdk/"
__exec dotnet restore $taskProj $sdkPath
__exec dotnet publish $taskProj --configuration Release --output $publishFolder $sdkPath
}
$newPath = "$dotnetLocalInstallFolder;$env:PATH"

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

@ -104,8 +104,9 @@ build_taskproject() {
rm -rf $publishFolder
fi
__exec dotnet restore $taskProj "/p:RepoTasksSdkPath=$scriptRoot/Sdks/KoreBuild.RepoTasks/"
__exec dotnet publish $taskProj --configuration Release --output $publishFolder "/p:RepoTasksSdkPath=$scriptRoot/Sdks/KoreBuild.RepoTasks/"
local sdkPath="/p:RepoTasksSdkPath=$scriptRoot/msbuild/KoreBuild.RepoTasks.Sdk/Sdk/"
__exec dotnet restore $taskProj $sdkPath
__exec dotnet publish $taskProj --configuration Release --output $publishFolder $sdkPath
}
if [ ! -z "$KOREBUILD_SKIP_RUNTIME_INSTALL" ]; then