Class: FluentCommandBuilder::XCodeBuild::V43::BuildWorkspace
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V43::BuildWorkspace
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, workspace_name, build_action = nil) ⇒ BuildWorkspace
Returns a new instance of BuildWorkspace.
200
201
202
203
204
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 200
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
205
206
207
208
209
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 205
def architecture(architecture)
@b.append " -arch #{@b.format architecture}"
yield @b if block_given?
self
end
|
#build_action(build_action) {|@b| ... } ⇒ Object
250
251
252
253
254
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 250
def build_action(build_action)
@b.append " #{@b.format build_action, ' '}"
yield @b if block_given?
self
end
|
#configuration(configuration_name) {|@b| ... } ⇒ Object
210
211
212
213
214
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 210
def configuration(configuration_name)
@b.append " -configuration #{@b.format configuration_name}"
yield @b if block_given?
self
end
|
#jobs(number) {|@b| ... } ⇒ Object
215
216
217
218
219
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 215
def jobs(number)
@b.append " -jobs #{@b.format number}"
yield @b if block_given?
self
end
|
#parallelize_targets {|@b| ... } ⇒ Object
220
221
222
223
224
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 220
def parallelize_targets
@b.append ' -parallelizeTargets'
yield @b if block_given?
self
end
|
#scheme(scheme_name) {|@b| ... } ⇒ Object
225
226
227
228
229
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 225
def scheme(scheme_name)
@b.append " -scheme #{@b.format scheme_name}"
yield @b if block_given?
self
end
|
#sdk(sdk_name) {|@b| ... } ⇒ Object
230
231
232
233
234
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 230
def sdk(sdk_name)
@b.append " -sdk #{@b.format sdk_name}"
yield @b if block_given?
self
end
|
#setting(setting, value) {|@b| ... } ⇒ Object
245
246
247
248
249
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 245
def setting(setting, value)
@b.append " #{@b.format setting}=#{@b.format value}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
235
236
237
238
239
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 235
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#xcconfig(path) {|@b| ... } ⇒ Object
240
241
242
243
244
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 240
def xcconfig(path)
@b.append " -xcconfig #{@b.format path}"
yield @b if block_given?
self
end
|