mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Run powershell child scripts using the same powershell tool as the parent script.
5 lines
214 B
PowerShell
Executable File
5 lines
214 B
PowerShell
Executable File
$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName
|
|
if (Test-Path -Path ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) {
|
|
. ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1"
|
|
}
|