Method: DeployGate::Xcode::Ios.ios_root?

Defined in:
lib/deploygate/xcode/ios.rb

.ios_root?(base_path) ⇒ Boolean

Returns:



75
76
77
78
79
80
81
82
# File 'lib/deploygate/xcode/ios.rb', line 75

def ios_root?(base_path)
  Find.find(base_path) do |path|
    next if path == base_path
    return true if workspace?(path) || project?(path)
    Find.prune if FileTest.directory?(path)
  end
  false
end