v26.10.0-pre
This commit is contained in:
1 parent
59027684e6
commit
fd5f320360
13 files changed
+149
-68
No files matched your search
@@ -8,6 +8,10 @@ param(
|
||||
[string[]]$Only
|
||||
)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
# 车道里的 GHC / stack 诊断带非 ASCII 字符,父子进程统一按 UTF-8 收
|
||||
$env:GHC_CHARENC = 'UTF-8'
|
||||
try { [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 } catch { }
|
||||
$OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
|
||||
$LogDir = Join-Path $PSScriptRoot 'logs'
|
||||
$TmpDir = Join-Path $PSScriptRoot 'tmp'
|
||||
|
||||
@@ -5,6 +5,10 @@ param(
|
||||
[switch]$NoLint
|
||||
)
|
||||
$ErrorActionPreference = 'Continue'
|
||||
# GHC / stack 的诊断带圆点等非 ASCII 字符,输出统一按 UTF-8,免得写管道时炸编码
|
||||
$env:GHC_CHARENC = 'UTF-8'
|
||||
try { [Console]::OutputEncoding = [System.Text.Encoding]::UTF8 } catch { }
|
||||
$OutputEncoding = [System.Text.Encoding]::UTF8
|
||||
$codes = @()
|
||||
|
||||
# 跑一个步骤:切目录、输出原样透传、记录退出码
|
||||
|
||||
Reference in new issue
Block a user