mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
22 lines
302 B
Rust
22 lines
302 B
Rust
#[cfg(windows)]
|
|
test! {
|
|
name: powershell,
|
|
justfile: r#"
|
|
default:
|
|
#!powershell
|
|
Write-Host Hello-World
|
|
"#,
|
|
stdout: "Hello-World\n",
|
|
}
|
|
|
|
#[cfg(windows)]
|
|
test! {
|
|
name: powershell_exe,
|
|
justfile: r#"
|
|
default:
|
|
#!powershell.exe
|
|
Write-Host Hello-World
|
|
"#,
|
|
stdout: "Hello-World\n",
|
|
}
|