Skip to content

Commit d15769f

Browse files
author
Benjamin Handanyan
committed
feat: support a custom pod install command
1 parent cb4d41b commit d15769f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/commands/pod_install.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ parameters:
99
type: string
1010
default: "ios"
1111
description: The location of the "ios" directory
12+
pod_install_command:
13+
type: string
14+
default: "pod install"
15+
description: The command to run to install pods
1216
cache:
1317
description: Save and restore the cache? Defaults to true
1418
type: boolean
@@ -25,7 +29,7 @@ steps:
2529
- run:
2630
name: Install CocoaPods
2731
command: |
28-
cd <<parameters.pod_install_directory>> && pod install && cd -
32+
cd <<parameters.pod_install_directory>> && eval <<parameters.pod_install_command>> && cd -
2933
- when:
3034
condition: <<parameters.cache>>
3135
steps:

0 commit comments

Comments
 (0)