[macOS] Add PowerShell version of Configure-Xcode-Simulators script (#9496)

This commit is contained in:
Alexey-Ayupov
2024-03-13 11:18:49 +01:00
committed by GitHub
parent aa58a23bf8
commit c910aa42d0
5 changed files with 80 additions and 8 deletions

View File

@@ -255,8 +255,9 @@ build {
}
provisioner "shell" {
execute_command = "source $HOME/.bash_profile; ruby {{ .Path }}"
script = "${path.root}/../scripts/build/configure-xcode-simulators.rb"
environment_vars = ["IMAGE_FOLDER=${local.image_folder}"]
execute_command = "chmod +x {{ .Path }}; source $HOME/.bash_profile; {{ .Vars }} pwsh -f {{ .Path }}"
script = "${path.root}/../scripts/build/Configure-Xcode-Simulators.ps1"
}
provisioner "shell" {