Skip to content

Commit

Permalink
feat: support a custom pod install command
Browse files Browse the repository at this point in the history
  • Loading branch information
bhandanyan-nomad committed Feb 12, 2024
1 parent cb4d41b commit d15769f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/commands/pod_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ parameters:
type: string
default: "ios"
description: The location of the "ios" directory
pod_install_command:
type: string
default: "pod install"
description: The command to run to install pods
cache:
description: Save and restore the cache? Defaults to true
type: boolean
Expand All @@ -25,7 +29,7 @@ steps:
- run:
name: Install CocoaPods
command: |
cd <<parameters.pod_install_directory>> && pod install && cd -
cd <<parameters.pod_install_directory>> && eval <<parameters.pod_install_command>> && cd -
- when:
condition: <<parameters.cache>>
steps:
Expand Down

0 comments on commit d15769f

Please sign in to comment.