
Powershell scripts cannot be launched as commands on Windows. They must be run through the `powershell` or `pwsh` tool.
5 lines
176 B
PowerShell
5 lines
176 B
PowerShell
$pwdpath = $pwd.Path
|
|
& "$pwsh" -File ".gitlab/ci/ninja.ps1"
|
|
Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$env:PATH"
|
|
Write-Host "ninja version: $(ninja --version)"
|