Module: FluentCommandBuilder::MSBuild::V30

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

Defined Under Namespace

Classes: MSBuild

Constant Summary collapse

VERSION =
'3.0'
@@config =
CommandBuilderConfig.new FluentCommandBuilder::MSBuild::COMMAND_NAME, VERSION

Instance Method Summary collapse

Instance Method Details

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

Yields:

  • (@@config)


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

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

#msbuild(project_file = nil) {|b| ... } ⇒ Object

Yields:

  • (b)


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

def msbuild(project_file=nil)
  b = UnderlyingBuilder.new @@config
  c = MSBuild.new(b, project_file)
  yield b if block_given?
  c
end