bitwarden-android/.github/scripts/ios/build.ps1
2020-06-09 11:48:11 -04:00

14 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"