Remove unnecessary executable permission from .ps1 scripts
[kiteware-cmake.git] / .gitlab / ci / swift-env.ps1
blob871b31c3b8a9078ec14ff129215973744b903907
1 $pwdpath = $pwd.Path
2 & "$pwsh" -File ".gitlab/ci/swift.ps1"
3 Set-Item -Force -Path "env:DEVELOPER_DIR" -Value "$pwdpath\.gitlab\swift"
4 Set-Item -Force -Path "env:SDKROOT" -Value "$pwdpath\.gitlab\swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk"
5 Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\swift\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin;$env:PATH"
6 swiftc --version