Skip to content

Commit

Permalink
Merge pull request #180 from bhandanyan-nomad/custom-pod-install-command
Browse files Browse the repository at this point in the history
feat: support a custom pod install command
  • Loading branch information
fotos authored Feb 12, 2024
2 parents cb4d41b + d15769f commit b01883b
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 b01883b

Please sign in to comment.