Class: FluentCommandBuilder::XCodeBuild::V44::BuildWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V44::BuildWorkspace
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, workspace_name, build_action = nil) ⇒ BuildWorkspace
Returns a new instance of BuildWorkspace.
235
236
237
238
239
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 235
def initialize(underlying_builder, workspace_name, build_action=nil)
super underlying_builder
@b.append " -workspace #{@b.format workspace_name}"
@b.append " #{@b.format build_action, ' '}" unless build_action.nil?
end
|
Instance Method Details
#architecture(architecture) {|@b| ... } ⇒ Object
240
241
242
243
244
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 240
def architecture(architecture)
@b.append " -arch #{@b.format architecture}"
yield @b if block_given?
self
end
|
#build_action(build_action) {|@b| ... } ⇒ Object
300
301
302
303
304
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 300
def build_action(build_action)
@b.append " #{@b.format build_action, ' '}"
yield @b if block_given?
self
end
|
#configuration(configuration_name) {|@b| ... } ⇒ Object
245
246
247
248
249
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 245
def configuration(configuration_name)
@b.append " -configuration #{@b.format configuration_name}"
yield @b if block_given?
self
end
|
#dry_run {|@b| ... } ⇒ Object
250
251
252
253
254
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 250
def dry_run
@b.append ' -dry-run'
yield @b if block_given?
self
end
|
#jobs(number) {|@b| ... } ⇒ Object
255
256
257
258
259
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 255
def jobs(number)
@b.append " -jobs #{@b.format number}"
yield @b if block_given?
self
end
|
#parallelize_targets {|@b| ... } ⇒ Object
260
261
262
263
264
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 260
def parallelize_targets
@b.append ' -parallelizeTargets'
yield @b if block_given?
self
end
|
#scheme(scheme_name) {|@b| ... } ⇒ Object
265
266
267
268
269
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 265
def scheme(scheme_name)
@b.append " -scheme #{@b.format scheme_name}"
yield @b if block_given?
self
end
|
#sdk(sdk_name) {|@b| ... } ⇒ Object
270
271
272
273
274
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 270
def sdk(sdk_name)
@b.append " -sdk #{@b.format sdk_name}"
yield @b if block_given?
self
end
|
#setting(setting, value) {|@b| ... } ⇒ Object
295
296
297
298
299
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 295
def setting(setting, value)
@b.append " #{@b.format setting}=#{@b.format value}"
yield @b if block_given?
self
end
|
#show_build_settings {|@b| ... } ⇒ Object
275
276
277
278
279
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 275
def show_build_settings
@b.append ' -showBuildSettings'
yield @b if block_given?
self
end
|
280
281
282
283
284
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 280
def toolchain(name)
@b.append " -toolchain #{@b.format name}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
285
286
287
288
289
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 285
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#xcconfig(path) {|@b| ... } ⇒ Object
290
291
292
293
294
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 290
def xcconfig(path)
@b.append " -xcconfig #{@b.format path}"
yield @b if block_given?
self
end
|