run pod only for ios

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
Jakub Sokołowski 2018-12-12 14:57:28 +01:00 committed by yenda
parent 88d3e78454
commit 9e8ec6eac7
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6

View File

@ -53,11 +53,11 @@ def prep(type = 'nightly') {
/* npm deps and status-go download */
sh "make prepare-${env.BUILD_PLATFORM}"
/* generate ios/StatusIm.xcworkspace */
dir('ios') {
if (env.BUILD_PLATFORM == 'ios') {
if (env.BUILD_PLATFORM == 'ios') {
dir('ios') {
podUpdate()
sh 'pod install --silent'
}
sh 'pod install --silent'
}
}