mirror of
https://github.com/github/codeql.git
synced 2026-05-25 00:27:09 +02:00
Merge pull request #233 from microsoft/dilan/powershell-dotnet-publish-flags
PowerShell: .NET Publish Flags
This commit is contained in:
@@ -3,7 +3,7 @@ param (
|
||||
)
|
||||
|
||||
$toolsLinux64Folder = Join-Path (Join-Path (Join-Path $cliFolder "powershell") "tools") "linux64"
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsLinux64Folder -r linux-x64
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsLinux64Folder -r linux-x64 -c Release --self-contained
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Build failed"
|
||||
exit 1
|
||||
|
||||
@@ -3,7 +3,7 @@ param (
|
||||
)
|
||||
|
||||
$toolsOsx64Folder = Join-Path (Join-Path (Join-Path $cliFolder "powershell") "tools") "osx64"
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsOsx64Folder -r osx-x64
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsOsx64Folder -r osx-x64 -c Release --self-contained
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Build failed"
|
||||
exit 1
|
||||
|
||||
@@ -3,7 +3,7 @@ param (
|
||||
)
|
||||
|
||||
$toolsWin64Folder = Join-Path (Join-Path (Join-Path $cliFolder "powershell") "tools") "win64"
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsWin64Folder -r win-x64
|
||||
dotnet publish (Join-Path "$PSScriptRoot/extractor" "powershell.sln" | Resolve-Path) -o $toolsWin64Folder -r win-x64 -c Release --self-contained
|
||||
if ($LASTEXITCODE -ne 0) {
|
||||
Write-Host "Build failed"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user