Change Homebrew dependency handling
This commit is contained in:
parent
e2399629c3
commit
e52308fc6c
|
|
@ -11,8 +11,11 @@ private_lane :installDependencies do |options|
|
|||
sh("rm -rf #{podsReposPath}")
|
||||
end
|
||||
|
||||
if File.exists? "../Brewfile"
|
||||
sh("brew bundle --file ../Brewfile")
|
||||
brew_dependencies = "imagemagick"
|
||||
sh "brew ls --versions #{brew_dependencies}" do |status, output, command|
|
||||
unless status.success?
|
||||
sh("brew install #{brew_dependencies}")
|
||||
end
|
||||
end
|
||||
|
||||
if File.exists? "../Gemfile"
|
||||
|
|
|
|||
Loading…
Reference in New Issue