fluent_command_builder 0.5.6 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/lib/command_version_detector.rb +1 -0
  2. data/lib/fluent_command_builder/command_base.rb +20 -11
  3. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +17 -0
  4. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +1059 -1059
  5. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +1055 -1055
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +17 -0
  7. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +46 -46
  8. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +46 -46
  9. data/lib/fluent_command_builder/command_builders/bundle.rb +17 -0
  10. data/lib/fluent_command_builder/command_builders/bundle_11.rb +140 -140
  11. data/lib/fluent_command_builder/command_builders/cucumber.rb +17 -0
  12. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +76 -76
  13. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +78 -78
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +17 -0
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +91 -86
  16. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +91 -86
  17. data/lib/fluent_command_builder/command_builders/dotcover.rb +17 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +33 -33
  19. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +133 -133
  20. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +133 -133
  21. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +137 -137
  22. data/lib/fluent_command_builder/command_builders/installutil.rb +17 -0
  23. data/lib/fluent_command_builder/command_builders/installutil_11.rb +31 -31
  24. data/lib/fluent_command_builder/command_builders/installutil_20.rb +33 -33
  25. data/lib/fluent_command_builder/command_builders/installutil_35.rb +33 -33
  26. data/lib/fluent_command_builder/command_builders/installutil_40.rb +36 -36
  27. data/lib/fluent_command_builder/command_builders/msbuild.rb +17 -0
  28. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +43 -43
  29. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +43 -43
  30. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +59 -59
  31. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +62 -62
  32. data/lib/fluent_command_builder/command_builders/msdeploy.rb +17 -0
  33. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +177 -0
  34. data/lib/fluent_command_builder/command_builders/mstest.rb +17 -0
  35. data/lib/fluent_command_builder/command_builders/mstest_100.rb +127 -0
  36. data/lib/fluent_command_builder/command_builders/mstest_80.rb +107 -0
  37. data/lib/fluent_command_builder/command_builders/mstest_90.rb +112 -0
  38. data/lib/fluent_command_builder/command_builders/netsh.rb +17 -0
  39. data/lib/fluent_command_builder/command_builders/netsh_61.rb +408 -0
  40. data/lib/fluent_command_builder/command_builders/nunit.rb +17 -0
  41. data/lib/fluent_command_builder/command_builders/nunit_25.rb +69 -64
  42. data/lib/fluent_command_builder/command_builders/nunit_26.rb +85 -80
  43. data/lib/fluent_command_builder/command_builders/rake.rb +17 -0
  44. data/lib/fluent_command_builder/command_builders/rake_09.rb +64 -64
  45. data/lib/fluent_command_builder/command_builders/security_osx.rb +17 -0
  46. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +82 -82
  47. data/lib/fluent_command_builder/command_builders/sevenzip.rb +17 -0
  48. data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +243 -243
  49. data/lib/fluent_command_builder/command_builders/simian.rb +17 -0
  50. data/lib/fluent_command_builder/command_builders/simian_23.rb +63 -63
  51. data/lib/fluent_command_builder/command_builders/team_foundation.rb +17 -0
  52. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2155 -0
  53. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +17 -0
  54. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1978 -0
  55. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +17 -0
  56. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +112 -112
  57. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +132 -132
  58. data/lib/fluent_command_builder/{command_builder.rb → underlying_builder.rb} +2 -2
  59. data/lib/fluent_command_builder/util.rb +18 -0
  60. data/lib/fluent_command_builder/version_detectors/appcfg_python.rb +9 -0
  61. data/lib/fluent_command_builder/version_detectors/aspnet_compiler.rb +9 -0
  62. data/lib/fluent_command_builder/version_detectors/bundle.rb +9 -0
  63. data/lib/fluent_command_builder/version_detectors/cucumber.rb +9 -0
  64. data/lib/fluent_command_builder/version_detectors/dev_appserver_python.rb +9 -0
  65. data/lib/fluent_command_builder/version_detectors/dotcover.rb +9 -0
  66. data/lib/fluent_command_builder/version_detectors/installutil.rb +9 -0
  67. data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +16 -0
  68. data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +43 -0
  69. data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +14 -0
  70. data/lib/fluent_command_builder/version_detectors/msbuild.rb +9 -0
  71. data/lib/fluent_command_builder/version_detectors/msdeploy.rb +9 -0
  72. data/lib/fluent_command_builder/version_detectors/mstest.rb +9 -0
  73. data/lib/fluent_command_builder/version_detectors/nuget.rb +9 -0
  74. data/lib/fluent_command_builder/version_detectors/nunit.rb +9 -0
  75. data/lib/fluent_command_builder/version_detectors/rake.rb +9 -0
  76. data/lib/fluent_command_builder/version_detectors/security_osx.rb +9 -0
  77. data/lib/fluent_command_builder/version_detectors/sevenzip.rb +9 -0
  78. data/lib/fluent_command_builder/version_detectors/team_foundation.rb +9 -0
  79. data/lib/fluent_command_builder/version_detectors/xcodebuild.rb +9 -0
  80. data/lib/fluent_command_builder.rb +26 -7
  81. metadata +53 -12
  82. data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +0 -177
  83. data/lib/fluent_command_builder/command_builders/mstest_2005.rb +0 -107
  84. data/lib/fluent_command_builder/command_builders/mstest_2008.rb +0 -112
  85. data/lib/fluent_command_builder/command_builders/mstest_2010.rb +0 -127
  86. data/lib/fluent_command_builder/command_builders/netsh_2008.rb +0 -408
  87. data/lib/fluent_command_builder/command_builders/tf_2010.rb +0 -2155
  88. data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +0 -1978
@@ -1,64 +1,64 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def installutil_35
6
+ FluentCommandBuilder::InstallUtil::V35.create { |b| yield b if block_given? }
7
+ end
5
8
  module InstallUtil
6
9
  module V35
7
- COMMAND_NAME = 'installUtil'
10
+ def self.create
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
12
+ c = InstallUtil.new(b)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def installutil
17
+ FluentCommandBuilder::InstallUtil::V35.create { |b| yield b if block_given? }
18
+ end
8
19
  class InstallUtil < CommandBase
9
- def initialize(builder)
10
- super builder
20
+ def initialize(underlying_builder)
21
+ super underlying_builder
11
22
  end
12
23
  def help(assembly_path=nil)
13
- @builder.append ' /help'
14
- @builder.append " #{@builder.format assembly_path}" unless assembly_path.nil?
15
- yield @builder if block_given?
24
+ b.append ' /help'
25
+ b.append " #{b.format assembly_path}" unless assembly_path.nil?
26
+ yield b if block_given?
16
27
  self
17
28
  end
18
29
  def log_file(file_name=nil)
19
- @builder.append ' /logFile'
20
- @builder.append "=#{@builder.format file_name}" unless file_name.nil?
21
- yield @builder if block_given?
30
+ b.append ' /logFile'
31
+ b.append "=#{b.format file_name}" unless file_name.nil?
32
+ yield b if block_given?
22
33
  self
23
34
  end
24
35
  def assembly_strong_name(assembly_name)
25
- @builder.append " /assemblyName=#{@builder.format assembly_name}"
26
- yield @builder if block_given?
36
+ b.append " /assemblyName=#{b.format assembly_name}"
37
+ yield b if block_given?
27
38
  self
28
39
  end
29
40
  def log_to_console(bool)
30
- @builder.append " /logToConsole=#{@builder.format bool}"
31
- yield @builder if block_given?
41
+ b.append " /logToConsole=#{b.format bool}"
42
+ yield b if block_given?
32
43
  self
33
44
  end
34
45
  def show_call_stack
35
- @builder.append ' /showCallStack'
36
- yield @builder if block_given?
46
+ b.append ' /showCallStack'
47
+ yield b if block_given?
37
48
  self
38
49
  end
39
50
  def uninstall
40
- @builder.append ' /uninstall'
41
- yield @builder if block_given?
51
+ b.append ' /uninstall'
52
+ yield b if block_given?
42
53
  self
43
54
  end
44
55
  def assembly_file_name(assembly_file_name)
45
- @builder.append " #{@builder.format assembly_file_name}"
46
- yield @builder if block_given?
56
+ b.append " #{b.format assembly_file_name}"
57
+ yield b if block_given?
47
58
  self
48
59
  end
49
60
  end
50
- def installutil
51
- builder = CommandBuilder.new COMMAND_NAME
52
- command = InstallUtil.new builder
53
- yield builder if block_given?
54
- command
55
- end
61
+
56
62
  end
57
63
  end
58
- def installutil_35
59
- builder = CommandBuilder.new InstallUtil::V35::COMMAND_NAME
60
- command = InstallUtil::V35::InstallUtil.new builder
61
- yield builder if block_given?
62
- command
63
- end
64
- end
64
+ end
@@ -1,70 +1,70 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def installutil_40
6
+ FluentCommandBuilder::InstallUtil::V40.create { |b| yield b if block_given? }
7
+ end
5
8
  module InstallUtil
6
9
  module V40
7
- COMMAND_NAME = 'installUtil'
10
+ def self.create
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
12
+ c = InstallUtil.new(b)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def installutil
17
+ FluentCommandBuilder::InstallUtil::V40.create { |b| yield b if block_given? }
18
+ end
8
19
  class InstallUtil < CommandBase
9
- def initialize(builder)
10
- super builder
20
+ def initialize(underlying_builder)
21
+ super underlying_builder
11
22
  end
12
23
  def help(assembly_path=nil)
13
- @builder.append ' /help'
14
- @builder.append " #{@builder.format assembly_path}" unless assembly_path.nil?
15
- yield @builder if block_given?
24
+ b.append ' /help'
25
+ b.append " #{b.format assembly_path}" unless assembly_path.nil?
26
+ yield b if block_given?
16
27
  self
17
28
  end
18
29
  def assembly_strong_name(assembly_name)
19
- @builder.append " /assemblyName=#{@builder.format assembly_name}"
20
- yield @builder if block_given?
30
+ b.append " /assemblyName=#{b.format assembly_name}"
31
+ yield b if block_given?
21
32
  self
22
33
  end
23
34
  def install_state_dir(directory_name=nil)
24
- @builder.append ' /installStateDir'
25
- @builder.append "=#{@builder.format directory_name}" unless directory_name.nil?
26
- yield @builder if block_given?
35
+ b.append ' /installStateDir'
36
+ b.append "=#{b.format directory_name}" unless directory_name.nil?
37
+ yield b if block_given?
27
38
  self
28
39
  end
29
40
  def log_file(file_name=nil)
30
- @builder.append ' /logFile'
31
- @builder.append "=#{@builder.format file_name}" unless file_name.nil?
32
- yield @builder if block_given?
41
+ b.append ' /logFile'
42
+ b.append "=#{b.format file_name}" unless file_name.nil?
43
+ yield b if block_given?
33
44
  self
34
45
  end
35
46
  def log_to_console(bool)
36
- @builder.append " /logToConsole=#{@builder.format bool}"
37
- yield @builder if block_given?
47
+ b.append " /logToConsole=#{b.format bool}"
48
+ yield b if block_given?
38
49
  self
39
50
  end
40
51
  def show_call_stack
41
- @builder.append ' /showCallStack'
42
- yield @builder if block_given?
52
+ b.append ' /showCallStack'
53
+ yield b if block_given?
43
54
  self
44
55
  end
45
56
  def uninstall
46
- @builder.append ' /uninstall'
47
- yield @builder if block_given?
57
+ b.append ' /uninstall'
58
+ yield b if block_given?
48
59
  self
49
60
  end
50
61
  def assembly_file_name(assembly_file_name)
51
- @builder.append " #{@builder.format assembly_file_name}"
52
- yield @builder if block_given?
62
+ b.append " #{b.format assembly_file_name}"
63
+ yield b if block_given?
53
64
  self
54
65
  end
55
66
  end
56
- def installutil
57
- builder = CommandBuilder.new COMMAND_NAME
58
- command = InstallUtil.new builder
59
- yield builder if block_given?
60
- command
61
- end
67
+
62
68
  end
63
69
  end
64
- def installutil_40
65
- builder = CommandBuilder.new InstallUtil::V40::COMMAND_NAME
66
- command = InstallUtil::V40::InstallUtil.new builder
67
- yield builder if block_given?
68
- command
69
- end
70
- end
70
+ end
@@ -0,0 +1,17 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../util')
3
+
4
+ module FluentCommandBuilder
5
+ def msbuild(&block)
6
+ MSBuild.create &block
7
+ end
8
+ module MSBuild
9
+ COMMAND_NAME = 'MSBuild'
10
+ def self.create
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
12
+ c = version_module(MSBuild).create b
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ end
17
+ end
@@ -1,89 +1,89 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def msbuild_20(project_file=nil)
6
+ FluentCommandBuilder::MSBuild::V20.create(project_file) { |b| yield b if block_given? }
7
+ end
5
8
  module MSBuild
6
9
  module V20
7
- COMMAND_NAME = 'MSBuild'
10
+ def self.create(project_file=nil)
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
12
+ c = MSBuild.new(b, project_file)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def msbuild(project_file=nil)
17
+ FluentCommandBuilder::MSBuild::V20.create(project_file) { |b| yield b if block_given? }
18
+ end
8
19
  class MSBuild < CommandBase
9
- def initialize(builder, project_file=nil)
10
- super builder
11
- @builder.append " #{@builder.format project_file}" unless project_file.nil?
20
+ def initialize(underlying_builder, project_file=nil)
21
+ super underlying_builder
22
+ b.append " #{b.format project_file}" unless project_file.nil?
12
23
  end
13
24
  def help
14
- @builder.append ' /help'
15
- yield @builder if block_given?
25
+ b.append ' /help'
26
+ yield b if block_given?
16
27
  self
17
28
  end
18
29
  def no_logo
19
- @builder.append ' /noLogo'
20
- yield @builder if block_given?
30
+ b.append ' /noLogo'
31
+ yield b if block_given?
21
32
  self
22
33
  end
23
34
  def version
24
- @builder.append ' /version'
25
- yield @builder if block_given?
35
+ b.append ' /version'
36
+ yield b if block_given?
26
37
  self
27
38
  end
28
39
  def file(file)
29
- @builder.append " @#{@builder.format file}"
30
- yield @builder if block_given?
40
+ b.append " @#{b.format file}"
41
+ yield b if block_given?
31
42
  self
32
43
  end
33
44
  def no_auto_response
34
- @builder.append ' /noAutoResponse'
35
- yield @builder if block_given?
45
+ b.append ' /noAutoResponse'
46
+ yield b if block_given?
36
47
  self
37
48
  end
38
49
  def target(target)
39
- @builder.append " /target:#{@builder.format target, ';'}"
40
- yield @builder if block_given?
50
+ b.append " /target:#{b.format target, ';'}"
51
+ yield b if block_given?
41
52
  self
42
53
  end
43
54
  def property(property)
44
- @builder.append " /property:#{@builder.format property, ';', '='}"
45
- yield @builder if block_given?
55
+ b.append " /property:#{b.format property, ';', '='}"
56
+ yield b if block_given?
46
57
  self
47
58
  end
48
59
  def logger(logger)
49
- @builder.append " /logger:#{@builder.format logger}"
50
- yield @builder if block_given?
60
+ b.append " /logger:#{b.format logger}"
61
+ yield b if block_given?
51
62
  self
52
63
  end
53
64
  def console_logger_parameters(parameters)
54
- @builder.append " /consoleLoggerParameters:#{@builder.format parameters}"
55
- yield @builder if block_given?
65
+ b.append " /consoleLoggerParameters:#{b.format parameters}"
66
+ yield b if block_given?
56
67
  self
57
68
  end
58
69
  def verbosity(level)
59
- @builder.append " /verbosity:#{@builder.format level}"
60
- yield @builder if block_given?
70
+ b.append " /verbosity:#{b.format level}"
71
+ yield b if block_given?
61
72
  self
62
73
  end
63
74
  def no_console_logger
64
- @builder.append ' /noConsoleLogger'
65
- yield @builder if block_given?
75
+ b.append ' /noConsoleLogger'
76
+ yield b if block_given?
66
77
  self
67
78
  end
68
79
  def validate(schema=nil)
69
- @builder.append ' /validate'
70
- @builder.append ":#{@builder.format schema}" unless schema.nil?
71
- yield @builder if block_given?
80
+ b.append ' /validate'
81
+ b.append ":#{b.format schema}" unless schema.nil?
82
+ yield b if block_given?
72
83
  self
73
84
  end
74
85
  end
75
- def msbuild(project_file=nil)
76
- builder = CommandBuilder.new COMMAND_NAME
77
- command = MSBuild.new builder, project_file
78
- yield builder if block_given?
79
- command
80
- end
86
+
81
87
  end
82
88
  end
83
- def msbuild_20(project_file=nil)
84
- builder = CommandBuilder.new MSBuild::V20::COMMAND_NAME
85
- command = MSBuild::V20::MSBuild.new builder, project_file
86
- yield builder if block_given?
87
- command
88
- end
89
- end
89
+ end
@@ -1,89 +1,89 @@
1
1
  require File.expand_path(File.dirname(__FILE__) + '/../command_base')
2
- require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
2
+ require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
3
3
 
4
4
  module FluentCommandBuilder
5
+ def msbuild_30(project_file=nil)
6
+ FluentCommandBuilder::MSBuild::V30.create(project_file) { |b| yield b if block_given? }
7
+ end
5
8
  module MSBuild
6
9
  module V30
7
- COMMAND_NAME = 'MSBuild'
10
+ def self.create(project_file=nil)
11
+ b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
12
+ c = MSBuild.new(b, project_file)
13
+ yield b if block_given?
14
+ c
15
+ end
16
+ def msbuild(project_file=nil)
17
+ FluentCommandBuilder::MSBuild::V30.create(project_file) { |b| yield b if block_given? }
18
+ end
8
19
  class MSBuild < CommandBase
9
- def initialize(builder, project_file=nil)
10
- super builder
11
- @builder.append " #{@builder.format project_file}" unless project_file.nil?
20
+ def initialize(underlying_builder, project_file=nil)
21
+ super underlying_builder
22
+ b.append " #{b.format project_file}" unless project_file.nil?
12
23
  end
13
24
  def help
14
- @builder.append ' /help'
15
- yield @builder if block_given?
25
+ b.append ' /help'
26
+ yield b if block_given?
16
27
  self
17
28
  end
18
29
  def no_logo
19
- @builder.append ' /noLogo'
20
- yield @builder if block_given?
30
+ b.append ' /noLogo'
31
+ yield b if block_given?
21
32
  self
22
33
  end
23
34
  def version
24
- @builder.append ' /version'
25
- yield @builder if block_given?
35
+ b.append ' /version'
36
+ yield b if block_given?
26
37
  self
27
38
  end
28
39
  def file(file)
29
- @builder.append " @#{@builder.format file}"
30
- yield @builder if block_given?
40
+ b.append " @#{b.format file}"
41
+ yield b if block_given?
31
42
  self
32
43
  end
33
44
  def no_auto_response
34
- @builder.append ' /noAutoResponse'
35
- yield @builder if block_given?
45
+ b.append ' /noAutoResponse'
46
+ yield b if block_given?
36
47
  self
37
48
  end
38
49
  def target(target)
39
- @builder.append " /target:#{@builder.format target, ';'}"
40
- yield @builder if block_given?
50
+ b.append " /target:#{b.format target, ';'}"
51
+ yield b if block_given?
41
52
  self
42
53
  end
43
54
  def property(property)
44
- @builder.append " /property:#{@builder.format property, ';', '='}"
45
- yield @builder if block_given?
55
+ b.append " /property:#{b.format property, ';', '='}"
56
+ yield b if block_given?
46
57
  self
47
58
  end
48
59
  def logger(logger)
49
- @builder.append " /logger:#{@builder.format logger}"
50
- yield @builder if block_given?
60
+ b.append " /logger:#{b.format logger}"
61
+ yield b if block_given?
51
62
  self
52
63
  end
53
64
  def console_logger_parameters(parameters)
54
- @builder.append " /consoleLoggerParameters:#{@builder.format parameters}"
55
- yield @builder if block_given?
65
+ b.append " /consoleLoggerParameters:#{b.format parameters}"
66
+ yield b if block_given?
56
67
  self
57
68
  end
58
69
  def verbosity(level)
59
- @builder.append " /verbosity:#{@builder.format level}"
60
- yield @builder if block_given?
70
+ b.append " /verbosity:#{b.format level}"
71
+ yield b if block_given?
61
72
  self
62
73
  end
63
74
  def no_console_logger
64
- @builder.append ' /noConsoleLogger'
65
- yield @builder if block_given?
75
+ b.append ' /noConsoleLogger'
76
+ yield b if block_given?
66
77
  self
67
78
  end
68
79
  def validate(schema=nil)
69
- @builder.append ' /validate'
70
- @builder.append ":#{@builder.format schema}" unless schema.nil?
71
- yield @builder if block_given?
80
+ b.append ' /validate'
81
+ b.append ":#{b.format schema}" unless schema.nil?
82
+ yield b if block_given?
72
83
  self
73
84
  end
74
85
  end
75
- def msbuild(project_file=nil)
76
- builder = CommandBuilder.new COMMAND_NAME
77
- command = MSBuild.new builder, project_file
78
- yield builder if block_given?
79
- command
80
- end
86
+
81
87
  end
82
88
  end
83
- def msbuild_30(project_file=nil)
84
- builder = CommandBuilder.new MSBuild::V30::COMMAND_NAME
85
- command = MSBuild::V30::MSBuild.new builder, project_file
86
- yield builder if block_given?
87
- command
88
- end
89
- end
89
+ end