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

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

.ios_root?(base_path) ⇒ Boolean

Returns:

  • (Boolean)


66
67
68
69
70
71
72
73
# File 'lib/deploygate/xcode/ios.rb', line 66

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