Module: FluentCommandBuilder::XCodeBuild::V45

Defined in:
lib/fluent_command_builder/command_builders/xcodebuild_45.rb

Defined Under Namespace

Classes: BuildProject, BuildProjectScheme, BuildWorkspace, Version, XCodeBuild

Constant Summary collapse

VERSION =
'4.5'
@@config =
CommandBuilderConfig.new FluentCommandBuilder::XCodeBuild::COMMAND_NAME, VERSION

Instance Method Summary collapse

Instance Method Details

#configure_xcodebuild {|@@config| ... } ⇒ Object

Yields:

  • (@@config)


12
13
14
15
16
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 12

def configure_xcodebuild
  yield @@config
  @@config.validate_path
  @@config.validate_version
end

#xcodebuild {|b| ... } ⇒ Object

Yields:

  • (b)


17
18
19
20
21
22
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 17

def xcodebuild
  b = UnderlyingBuilder.new @@config
  c = XCodeBuild.new(b)
  yield b if block_given?
  c
end