1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-07 09:20:04 +01:00
bitwarden-mobile/.github/scripts/ios/build.ps1
2020-06-09 20:47:46 -04:00

15 lines
461 B
PowerShell

param (
[Parameter(Mandatory=$true)]
[string] $configuration,
[string] $platform = "iPhone"
)
$rootPath = $env:GITHUB_WORKSPACE;
$iosPath = $($rootPath + "/src/iOS/iOS.csproj");
Write-Output "########################################"
Write-Output "##### Build $configuration Configuration for $platform Platform"
Write-Output "########################################"
msbuild "$($iosPath)" "/p:Platform=$platform" "/p:Configuration=$configuration"