Class: FluentCommandBuilder::XCodeBuild::V43::BuildProjectScheme

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

Instance Method Summary collapse

Methods inherited from CommandBase

#configure!, #execute!, #to_s

Constructor Details

#initialize(underlying_builder, build_action = nil) ⇒ BuildProjectScheme

Returns a new instance of BuildProjectScheme.



144
145
146
147
148
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 144

def initialize(underlying_builder, build_action=nil)
  super underlying_builder
  @b.append ' '
  @b.append "#{@b.format build_action, ' '}" unless build_action.nil?
end

Instance Method Details

#architecture(architecture) {|@b| ... } ⇒ Object

Yields:

  • (@b)


149
150
151
152
153
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 149

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

#build_action(build_action) {|@b| ... } ⇒ Object

Yields:

  • (@b)


194
195
196
197
198
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 194

def build_action(build_action)
  @b.append " #{@b.format build_action, ' '}"
  yield @b if block_given?
  self
end

#configuration(configuration_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


154
155
156
157
158
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 154

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

#jobs(number) {|@b| ... } ⇒ Object

Yields:

  • (@b)


159
160
161
162
163
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 159

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

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

Yields:

  • (@b)


164
165
166
167
168
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 164

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

#scheme(scheme_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


169
170
171
172
173
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 169

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

#sdk(sdk_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


174
175
176
177
178
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 174

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

#setting(setting, value) {|@b| ... } ⇒ Object

Yields:

  • (@b)


189
190
191
192
193
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 189

def setting(setting, value)
  @b.append " #{@b.format setting}=#{@b.format value}"
  yield @b if block_given?
  self
end

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

Yields:

  • (@b)


179
180
181
182
183
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 179

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

#xcconfig(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


184
185
186
187
188
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 184

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