Sha256: 8a0faf50ffd90b6917ca0a2f037cb6071448379ce77ff4a4fe3b4b0ded0c5b10
Contents?: true
Size: 736 Bytes
Versions: 2
Compression:
Stored size: 736 Bytes
Contents
require 'big_keeper/util/logger' require 'open3' module BigKeeper class PodOperator def self.pod_install(path, repo_update) # pod install if repo_update Logger.highlight('Start pod repo update, waiting...') cmd = 'pod repo update' Open3.popen3(cmd) do |stdin , stdout , stderr, wait_thr| while line = stdout.gets puts line end end end Logger.highlight('Start pod install, waiting...') cmd = "pod install --project-directory=#{path}" Open3.popen3(cmd) do |stdin , stdout , stderr, wait_thr| while line = stdout.gets puts line end end Logger.highlight('Finish pod install.') end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bigkeeper-0.8.0 | lib/big_keeper/util/pod_operator.rb |
bigkeeper-0.7.8 | lib/big_keeper/util/pod_operator.rb |