chore: 修复 justfile 在 Linux 上无法执行

This commit is contained in:
XcantloadX 2025-05-02 15:03:50 +08:00
parent 24701ff2b4
commit 01b8583875
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
set dotenv-load
set shell := ["powershell", "-c"]
set windows-shell := ["pwsh", "-c"]
set shell := ["pwsh", "-c"]
shebang_pwsh := if os() == 'windows' {
'powershell.exe'
} else {
'/usr/bin/env powershell'
'/usr/bin/env pwsh'
}
shebang_python := if os() == 'windows' {
'python.exe'