Class: FluentCommandBuilder::XCodeBuild::V44::XCodeBuild

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/xcodebuild_44.rb

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder) ⇒ XCodeBuild

Returns a new instance of XCodeBuild.



24
25
26
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 24

def initialize(underlying_builder)
  super underlying_builder
end

Instance Method Details

#build_project(build_action = nil) ⇒ Object



27
28
29
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 27

def build_project(build_action=nil)
  BuildProject.new @b, build_action
end

#build_project_scheme(build_action = nil) ⇒ Object



30
31
32
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 30

def build_project_scheme(build_action=nil)
  BuildProjectScheme.new @b, build_action
end

#build_workspace(workspace_name, build_action = nil) ⇒ Object



33
34
35
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 33

def build_workspace(workspace_name, build_action=nil)
  BuildWorkspace.new @b, workspace_name, build_action
end

#find(binary) {|@b| ... } ⇒ Object

Yields:

  • (@b)


54
55
56
57
58
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 54

def find(binary)
  @b.append " -find #{@b.format binary}"
  yield @b if block_given?
  self
end

#help {|@b| ... } ⇒ Object

Yields:

  • (@b)


59
60
61
62
63
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 59

def help
  @b.append ' -help'
  yield @b if block_given?
  self
end

#license {|@b| ... } ⇒ Object

Yields:

  • (@b)


64
65
66
67
68
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 64

def license
  @b.append ' -license'
  yield @b if block_given?
  self
end

#list {|@b| ... } ⇒ Object

Yields:

  • (@b)


39
40
41
42
43
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 39

def list
  @b.append ' -list'
  yield @b if block_given?
  self
end

#list_project(project_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


44
45
46
47
48
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 44

def list_project(project_name)
  @b.append " -list -project #{@b.format project_name}"
  yield @b if block_given?
  self
end

#list_workspace(workspace_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


49
50
51
52
53
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 49

def list_workspace(workspace_name)
  @b.append " -list -workspace #{@b.format workspace_name}"
  yield @b if block_given?
  self
end

#show_sdks {|@b| ... } ⇒ Object

Yields:

  • (@b)


69
70
71
72
73
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 69

def show_sdks
  @b.append ' -showsdks'
  yield @b if block_given?
  self
end

#usage {|@b| ... } ⇒ Object

Yields:

  • (@b)


74
75
76
77
78
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 74

def usage
  @b.append ' -usage'
  yield @b if block_given?
  self
end

#versionObject



36
37
38
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 36

def version
  Version.new @b
end