Class: DeployGate::Project

Inherits:
Object
  • Object
show all
Defined in:
lib/deploygate/project.rb

Class Method Summary collapse

Class Method Details

.android?(path) ⇒ Boolean

Parameters:

  • path (String)

Returns:

  • (Boolean)


13
14
15
# File 'lib/deploygate/project.rb', line 13

def android?(path)
  DeployGate::Android::GradleProject.root_dir?(path)
end

.ios?(path) ⇒ Boolean

Parameters:

  • path (String)

Returns:

  • (Boolean)


7
8
9
# File 'lib/deploygate/project.rb', line 7

def ios?(path)
  DeployGate::Xcode::Ios.workspace?(path) || DeployGate::Xcode::Ios.project?(path) || DeployGate::Xcode::Ios.ios_root?(path)
end