зеркало из https://github.com/aspnet/KoreBuild.git
Move repotasks props/targets to msbuild folder
This commit is contained in:
Родитель
19a1a278e5
Коммит
7f0cd60207
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче