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