chore: 修复 justfile 在 Linux 上无法执行
This commit is contained in:
parent
24701ff2b4
commit
01b8583875
5
justfile
5
justfile
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue