mirror of
https://github.com/icsharpcode/ILSpy.git
synced 2026-10-12 02:15:58 +00:00
11 lines
444 B
PowerShell
11 lines
444 B
PowerShell
#!/usr/bin/env pwsh
|
|
# Build ILSpy.sln. Defaults to Debug; pass -Configuration Release for a release build.
|
|
# Extra arguments are forwarded to `dotnet build` (e.g. ./build.ps1 -Configuration Release --no-restore).
|
|
param(
|
|
[ValidateSet('Debug', 'Release')]
|
|
[string]$Configuration = 'Debug'
|
|
)
|
|
$ErrorActionPreference = 'Stop'
|
|
$env:OPENSSL_ENABLE_SHA1_SIGNATURES = '1'
|
|
dotnet build -mt ILSpy.sln -c $Configuration "-p:Platform=Any CPU" @args
|