未验证 提交 60122d46 编写于 作者: T Tomáš Matoušek 提交者: GitHub

Fix directory path in createrunsettings.ps1 (#31692)

上级 03518080
......@@ -90,7 +90,7 @@ jobs:
- task: PowerShell@2
inputs:
filePath: eng\createrunsettings.ps1
arguments: -release
arguments: -configuration $(BuildConfiguration)
failOnStderr: true
displayName: 'OPTPROF - generate runsettings file'
condition: succeededOrFailed()
......
[CmdletBinding(PositionalBinding=$false)]
param (
[switch]$release = $false)
param ([string]$configuration = "Debug")
Set-StrictMode -version 2.0
$ErrorActionPreference = "Stop"
......@@ -9,8 +8,6 @@ try {
. (Join-Path $PSScriptRoot "build-utils.ps1")
Push-Location $RepoRoot
$buildConfiguration = if ($release) { "Release" } else { "Debug" }
$optProfToolDir = Get-PackageDir "Roslyn.OptProf.RunSettings.Generator"
$optProfToolExe = Join-Path $optProfToolDir "tools\roslyn.optprof.runsettings.generator.exe"
$configFile = Join-Path $EngRoot "config\OptProf.json"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册