fluent_command_builder 0.9.7 → 0.9.8

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 (92) hide show
  1. data/lib/fluent_command_builder/command_builder.rb +2 -2
  2. data/lib/fluent_command_builder/command_executors/backticks_executor.rb +1 -1
  3. data/lib/fluent_command_builder/command_executors/dry_run_executor.rb +1 -1
  4. data/lib/fluent_command_builder/command_executors/rake_sh_executor.rb +1 -1
  5. data/lib/fluent_command_builder/command_executors/system_executor.rb +1 -1
  6. data/lib/fluent_command_builder/execution_context.rb +2 -2
  7. data/lib/fluent_command_builder/internal/argument_formatter.rb +1 -1
  8. data/lib/fluent_command_builder/internal/command_builder_config.rb +7 -10
  9. data/lib/fluent_command_builder/internal/path.rb +9 -3
  10. data/lib/fluent_command_builder/internal/path_validator.rb +4 -5
  11. data/lib/fluent_command_builder/internal/underlying_builder.rb +3 -3
  12. data/lib/fluent_command_builder/version_validator.rb +11 -6
  13. metadata +55 -90
  14. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +0 -19
  15. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +0 -2613
  16. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +0 -2603
  17. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +0 -19
  18. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +0 -103
  19. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +0 -103
  20. data/lib/fluent_command_builder/command_builders/bundle.rb +0 -19
  21. data/lib/fluent_command_builder/command_builders/bundle_11.rb +0 -321
  22. data/lib/fluent_command_builder/command_builders/bundle_12.rb +0 -345
  23. data/lib/fluent_command_builder/command_builders/cucumber.rb +0 -19
  24. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +0 -178
  25. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +0 -183
  26. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +0 -19
  27. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +0 -208
  28. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +0 -208
  29. data/lib/fluent_command_builder/command_builders/dotcover.rb +0 -19
  30. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +0 -69
  31. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +0 -299
  32. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +0 -299
  33. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +0 -309
  34. data/lib/fluent_command_builder/command_builders/dotcover_21.rb +0 -309
  35. data/lib/fluent_command_builder/command_builders/dotcover_22.rb +0 -309
  36. data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +0 -19
  37. data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +0 -263
  38. data/lib/fluent_command_builder/command_builders/installutil.rb +0 -19
  39. data/lib/fluent_command_builder/command_builders/installutil_11.rb +0 -64
  40. data/lib/fluent_command_builder/command_builders/installutil_20.rb +0 -69
  41. data/lib/fluent_command_builder/command_builders/installutil_35.rb +0 -69
  42. data/lib/fluent_command_builder/command_builders/installutil_40.rb +0 -75
  43. data/lib/fluent_command_builder/command_builders/msbuild.rb +0 -19
  44. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +0 -94
  45. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +0 -94
  46. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +0 -134
  47. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +0 -137
  48. data/lib/fluent_command_builder/command_builders/msdeploy.rb +0 -19
  49. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +0 -182
  50. data/lib/fluent_command_builder/command_builders/mstest.rb +0 -19
  51. data/lib/fluent_command_builder/command_builders/mstest_100.rb +0 -132
  52. data/lib/fluent_command_builder/command_builders/mstest_80.rb +0 -112
  53. data/lib/fluent_command_builder/command_builders/mstest_90.rb +0 -117
  54. data/lib/fluent_command_builder/command_builders/netsh.rb +0 -19
  55. data/lib/fluent_command_builder/command_builders/netsh_61.rb +0 -413
  56. data/lib/fluent_command_builder/command_builders/nuget.rb +0 -19
  57. data/lib/fluent_command_builder/command_builders/nuget_20.rb +0 -437
  58. data/lib/fluent_command_builder/command_builders/nuget_21.rb +0 -533
  59. data/lib/fluent_command_builder/command_builders/nunit.rb +0 -19
  60. data/lib/fluent_command_builder/command_builders/nunit_25.rb +0 -153
  61. data/lib/fluent_command_builder/command_builders/nunit_26.rb +0 -193
  62. data/lib/fluent_command_builder/command_builders/rake.rb +0 -19
  63. data/lib/fluent_command_builder/command_builders/rake_09.rb +0 -156
  64. data/lib/fluent_command_builder/command_builders/rake_100.rb +0 -194
  65. data/lib/fluent_command_builder/command_builders/schtasks.rb +0 -19
  66. data/lib/fluent_command_builder/command_builders/schtasks_61.rb +0 -353
  67. data/lib/fluent_command_builder/command_builders/security_osx.rb +0 -19
  68. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +0 -188
  69. data/lib/fluent_command_builder/command_builders/security_osx_108.rb +0 -188
  70. data/lib/fluent_command_builder/command_builders/sevenzip.rb +0 -19
  71. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +0 -523
  72. data/lib/fluent_command_builder/command_builders/simian.rb +0 -19
  73. data/lib/fluent_command_builder/command_builders/simian_23.rb +0 -147
  74. data/lib/fluent_command_builder/command_builders/team_foundation.rb +0 -19
  75. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +0 -2160
  76. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +0 -19
  77. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +0 -1885
  78. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +0 -2003
  79. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +0 -19
  80. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +0 -276
  81. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +0 -326
  82. data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +0 -331
  83. data/lib/fluent_command_builder/internal/path_finder.rb +0 -20
  84. data/lib/fluent_command_builder/internal/path_finders/unix_path_finder.rb +0 -13
  85. data/lib/fluent_command_builder/internal/path_finders/windows_path_finder.rb +0 -14
  86. data/lib/fluent_command_builder/version_detectors.rb +0 -1
  87. data/lib/fluent_command_builder/version_detectors/appengine_python_version_detector.rb +0 -23
  88. data/lib/fluent_command_builder/version_detectors/default_version_detector.rb +0 -35
  89. data/lib/fluent_command_builder/version_detectors/dot_net_framework_version_detector.rb +0 -24
  90. data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +0 -19
  91. data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +0 -30
  92. data/lib/fluent_command_builder/version_detectors/windows_version_detector.rb +0 -12
@@ -1,309 +0,0 @@
1
- # Generated code. Do not modify.
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
4
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
5
- require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
6
-
7
- module FluentCommandBuilder
8
- module DotCover
9
- module V20
10
- VERSION = '2.0'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::DotCover::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::DotCover.version_detector
13
- def configure_dotcover
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def dotcover
19
- b = UnderlyingBuilder.new @@config
20
- c = DotCover.new(b)
21
- yield b if block_given?
22
- c
23
- end
24
- class DotCover < CommandBase
25
- def initialize(underlying_builder)
26
- super underlying_builder
27
- end
28
- def analyse(configuration_file=nil)
29
- Analyse.new @b, configuration_file
30
- end
31
- def cover(configuration_file=nil)
32
- Cover.new @b, configuration_file
33
- end
34
- def delete(configuration_file=nil)
35
- Delete.new @b, configuration_file
36
- end
37
- def help(command=nil, file_name=nil)
38
- @b.append ' help'
39
- @b.append " #{@b.format command}" unless command.nil?
40
- @b.append " #{@b.format file_name}" unless file_name.nil?
41
- yield @b if block_given?
42
- self
43
- end
44
- def list(configuration_file=nil)
45
- List.new @b, configuration_file
46
- end
47
- def merge(configuration_file=nil)
48
- Merge.new @b, configuration_file
49
- end
50
- def report(configuration_file=nil)
51
- Report.new @b, configuration_file
52
- end
53
- def version(output_file_name=nil)
54
- Version.new @b, output_file_name
55
- end
56
- def zip(configuration_file=nil)
57
- Zip.new @b, configuration_file
58
- end
59
- end
60
- class Analyse < CommandBase
61
- def initialize(underlying_builder, configuration_file=nil)
62
- super underlying_builder
63
- @b.append ' analyse'
64
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
65
- end
66
- def analyse_target_arguments(bool)
67
- @b.append " /analyseTargetArguments=#{@b.format bool}"
68
- yield @b if block_given?
69
- self
70
- end
71
- def attribute_filters(filters)
72
- @b.append " /attributeFilters=#{@b.format filters, ';'}"
73
- yield @b if block_given?
74
- self
75
- end
76
- def filters(filters)
77
- @b.append " /filters=#{@b.format filters, ';'}"
78
- yield @b if block_given?
79
- self
80
- end
81
- def inherit_console(bool)
82
- @b.append " /inheritConsole=#{@b.format bool}"
83
- yield @b if block_given?
84
- self
85
- end
86
- def log_file(log_file)
87
- @b.append " /logFile=#{@b.format log_file}"
88
- yield @b if block_given?
89
- self
90
- end
91
- def output(snapshot_path)
92
- @b.append " /output=#{@b.format snapshot_path}"
93
- yield @b if block_given?
94
- self
95
- end
96
- def report_type(report_type)
97
- @b.append " /reportType=#{@b.format report_type}"
98
- yield @b if block_given?
99
- self
100
- end
101
- def target_arguments(target_arguments)
102
- @b.append " /targetArguments=#{@b.format target_arguments}"
103
- yield @b if block_given?
104
- self
105
- end
106
- def target_executable(target_executable)
107
- @b.append " /targetExecutable=#{@b.format target_executable}"
108
- yield @b if block_given?
109
- self
110
- end
111
- def target_working_dir(target_working_dir)
112
- @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
113
- yield @b if block_given?
114
- self
115
- end
116
- def temp_dir(temp_dir)
117
- @b.append " /tempDir=#{@b.format temp_dir}"
118
- yield @b if block_given?
119
- self
120
- end
121
- end
122
- class Cover < CommandBase
123
- def initialize(underlying_builder, configuration_file=nil)
124
- super underlying_builder
125
- @b.append ' cover'
126
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
127
- end
128
- def analyse_target_arguments(bool)
129
- @b.append " /analyseTargetArguments=#{@b.format bool}"
130
- yield @b if block_given?
131
- self
132
- end
133
- def attribute_filters(filters)
134
- @b.append " /attributeFilters=#{@b.format filters, ';'}"
135
- yield @b if block_given?
136
- self
137
- end
138
- def filters(filters)
139
- @b.append " /filters=#{@b.format filters, ';'}"
140
- yield @b if block_given?
141
- self
142
- end
143
- def inherit_console(bool)
144
- @b.append " /inheritConsole=#{@b.format bool}"
145
- yield @b if block_given?
146
- self
147
- end
148
- def log_file(log_file)
149
- @b.append " /logFile=#{@b.format log_file}"
150
- yield @b if block_given?
151
- self
152
- end
153
- def output(snapshot_path)
154
- @b.append " /output=#{@b.format snapshot_path}"
155
- yield @b if block_given?
156
- self
157
- end
158
- def target_arguments(target_arguments)
159
- @b.append " /targetArguments=#{@b.format target_arguments}"
160
- yield @b if block_given?
161
- self
162
- end
163
- def target_executable(target_executable)
164
- @b.append " /targetExecutable=#{@b.format target_executable}"
165
- yield @b if block_given?
166
- self
167
- end
168
- def target_working_dir(target_working_dir)
169
- @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
170
- yield @b if block_given?
171
- self
172
- end
173
- def temp_dir(temp_dir)
174
- @b.append " /tempDir=#{@b.format temp_dir}"
175
- yield @b if block_given?
176
- self
177
- end
178
- end
179
- class Delete < CommandBase
180
- def initialize(underlying_builder, configuration_file=nil)
181
- super underlying_builder
182
- @b.append ' delete'
183
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
184
- end
185
- def log_file(log_file)
186
- @b.append " /logFile=#{@b.format log_file}"
187
- yield @b if block_given?
188
- self
189
- end
190
- def source(source)
191
- @b.append " /source=#{@b.format source}"
192
- yield @b if block_given?
193
- self
194
- end
195
- end
196
- class List < CommandBase
197
- def initialize(underlying_builder, configuration_file=nil)
198
- super underlying_builder
199
- @b.append ' list'
200
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
201
- end
202
- def log_file(log_file)
203
- @b.append " /logFile=#{@b.format log_file}"
204
- yield @b if block_given?
205
- self
206
- end
207
- def output(snapshot_path)
208
- @b.append " /output=#{@b.format snapshot_path}"
209
- yield @b if block_given?
210
- self
211
- end
212
- def source(source)
213
- @b.append " /source=#{@b.format source}"
214
- yield @b if block_given?
215
- self
216
- end
217
- end
218
- class Merge < CommandBase
219
- def initialize(underlying_builder, configuration_file=nil)
220
- super underlying_builder
221
- @b.append ' merge'
222
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
223
- end
224
- def log_file(log_file)
225
- @b.append " /logFile=#{@b.format log_file}"
226
- yield @b if block_given?
227
- self
228
- end
229
- def output(snapshot_path)
230
- @b.append " /output=#{@b.format snapshot_path}"
231
- yield @b if block_given?
232
- self
233
- end
234
- def source(source)
235
- @b.append " /source=#{@b.format source}"
236
- yield @b if block_given?
237
- self
238
- end
239
- def temp_dir(temp_dir)
240
- @b.append " /tempDir=#{@b.format temp_dir}"
241
- yield @b if block_given?
242
- self
243
- end
244
- end
245
- class Report < CommandBase
246
- def initialize(underlying_builder, configuration_file=nil)
247
- super underlying_builder
248
- @b.append ' report'
249
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
250
- end
251
- def log_file(log_file)
252
- @b.append " /logFile=#{@b.format log_file}"
253
- yield @b if block_given?
254
- self
255
- end
256
- def output(snapshot_path)
257
- @b.append " /output=#{@b.format snapshot_path}"
258
- yield @b if block_given?
259
- self
260
- end
261
- def report_type(report_type)
262
- @b.append " /reportType=#{@b.format report_type}"
263
- yield @b if block_given?
264
- self
265
- end
266
- def source(source)
267
- @b.append " /source=#{@b.format source}"
268
- yield @b if block_given?
269
- self
270
- end
271
- end
272
- class Version < CommandBase
273
- def initialize(underlying_builder, output_file_name=nil)
274
- super underlying_builder
275
- @b.append ' version'
276
- @b.append " #{@b.format output_file_name}" unless output_file_name.nil?
277
- end
278
- def log_file(log_file)
279
- @b.append " /logFile=#{@b.format log_file}"
280
- yield @b if block_given?
281
- self
282
- end
283
- end
284
- class Zip < CommandBase
285
- def initialize(underlying_builder, configuration_file=nil)
286
- super underlying_builder
287
- @b.append ' zip'
288
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
289
- end
290
- def log_file(log_file)
291
- @b.append " /logFile=#{@b.format log_file}"
292
- yield @b if block_given?
293
- self
294
- end
295
- def output(snapshot_path)
296
- @b.append " /output=#{@b.format snapshot_path}"
297
- yield @b if block_given?
298
- self
299
- end
300
- def source(source)
301
- @b.append " /source=#{@b.format source}"
302
- yield @b if block_given?
303
- self
304
- end
305
- end
306
-
307
- end
308
- end
309
- end
@@ -1,309 +0,0 @@
1
- # Generated code. Do not modify.
2
-
3
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
4
- require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
5
- require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
6
-
7
- module FluentCommandBuilder
8
- module DotCover
9
- module V21
10
- VERSION = '2.1'
11
- @@config = CommandBuilderConfig.new FluentCommandBuilder::DotCover::COMMAND_NAME, VERSION
12
- @@config.version_detector = FluentCommandBuilder::DotCover.version_detector
13
- def configure_dotcover
14
- yield @@config
15
- @@config.validate_path
16
- @@config.validate_version
17
- end
18
- def dotcover
19
- b = UnderlyingBuilder.new @@config
20
- c = DotCover.new(b)
21
- yield b if block_given?
22
- c
23
- end
24
- class DotCover < CommandBase
25
- def initialize(underlying_builder)
26
- super underlying_builder
27
- end
28
- def analyse(configuration_file=nil)
29
- Analyse.new @b, configuration_file
30
- end
31
- def cover(configuration_file=nil)
32
- Cover.new @b, configuration_file
33
- end
34
- def delete(configuration_file=nil)
35
- Delete.new @b, configuration_file
36
- end
37
- def help(command=nil, file_name=nil)
38
- @b.append ' help'
39
- @b.append " #{@b.format command}" unless command.nil?
40
- @b.append " #{@b.format file_name}" unless file_name.nil?
41
- yield @b if block_given?
42
- self
43
- end
44
- def list(configuration_file=nil)
45
- List.new @b, configuration_file
46
- end
47
- def merge(configuration_file=nil)
48
- Merge.new @b, configuration_file
49
- end
50
- def report(configuration_file=nil)
51
- Report.new @b, configuration_file
52
- end
53
- def version(output_file_name=nil)
54
- Version.new @b, output_file_name
55
- end
56
- def zip(configuration_file=nil)
57
- Zip.new @b, configuration_file
58
- end
59
- end
60
- class Analyse < CommandBase
61
- def initialize(underlying_builder, configuration_file=nil)
62
- super underlying_builder
63
- @b.append ' analyse'
64
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
65
- end
66
- def analyse_target_arguments(bool)
67
- @b.append " /analyseTargetArguments=#{@b.format bool}"
68
- yield @b if block_given?
69
- self
70
- end
71
- def attribute_filters(filters)
72
- @b.append " /attributeFilters=#{@b.format filters, ';'}"
73
- yield @b if block_given?
74
- self
75
- end
76
- def filters(filters)
77
- @b.append " /filters=#{@b.format filters, ';'}"
78
- yield @b if block_given?
79
- self
80
- end
81
- def inherit_console(bool)
82
- @b.append " /inheritConsole=#{@b.format bool}"
83
- yield @b if block_given?
84
- self
85
- end
86
- def log_file(log_file)
87
- @b.append " /logFile=#{@b.format log_file}"
88
- yield @b if block_given?
89
- self
90
- end
91
- def output(snapshot_path)
92
- @b.append " /output=#{@b.format snapshot_path}"
93
- yield @b if block_given?
94
- self
95
- end
96
- def report_type(report_type)
97
- @b.append " /reportType=#{@b.format report_type}"
98
- yield @b if block_given?
99
- self
100
- end
101
- def target_arguments(target_arguments)
102
- @b.append " /targetArguments=#{@b.format target_arguments}"
103
- yield @b if block_given?
104
- self
105
- end
106
- def target_executable(target_executable)
107
- @b.append " /targetExecutable=#{@b.format target_executable}"
108
- yield @b if block_given?
109
- self
110
- end
111
- def target_working_dir(target_working_dir)
112
- @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
113
- yield @b if block_given?
114
- self
115
- end
116
- def temp_dir(temp_dir)
117
- @b.append " /tempDir=#{@b.format temp_dir}"
118
- yield @b if block_given?
119
- self
120
- end
121
- end
122
- class Cover < CommandBase
123
- def initialize(underlying_builder, configuration_file=nil)
124
- super underlying_builder
125
- @b.append ' cover'
126
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
127
- end
128
- def analyse_target_arguments(bool)
129
- @b.append " /analyseTargetArguments=#{@b.format bool}"
130
- yield @b if block_given?
131
- self
132
- end
133
- def attribute_filters(filters)
134
- @b.append " /attributeFilters=#{@b.format filters, ';'}"
135
- yield @b if block_given?
136
- self
137
- end
138
- def filters(filters)
139
- @b.append " /filters=#{@b.format filters, ';'}"
140
- yield @b if block_given?
141
- self
142
- end
143
- def inherit_console(bool)
144
- @b.append " /inheritConsole=#{@b.format bool}"
145
- yield @b if block_given?
146
- self
147
- end
148
- def log_file(log_file)
149
- @b.append " /logFile=#{@b.format log_file}"
150
- yield @b if block_given?
151
- self
152
- end
153
- def output(snapshot_path)
154
- @b.append " /output=#{@b.format snapshot_path}"
155
- yield @b if block_given?
156
- self
157
- end
158
- def target_arguments(target_arguments)
159
- @b.append " /targetArguments=#{@b.format target_arguments}"
160
- yield @b if block_given?
161
- self
162
- end
163
- def target_executable(target_executable)
164
- @b.append " /targetExecutable=#{@b.format target_executable}"
165
- yield @b if block_given?
166
- self
167
- end
168
- def target_working_dir(target_working_dir)
169
- @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
170
- yield @b if block_given?
171
- self
172
- end
173
- def temp_dir(temp_dir)
174
- @b.append " /tempDir=#{@b.format temp_dir}"
175
- yield @b if block_given?
176
- self
177
- end
178
- end
179
- class Delete < CommandBase
180
- def initialize(underlying_builder, configuration_file=nil)
181
- super underlying_builder
182
- @b.append ' delete'
183
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
184
- end
185
- def log_file(log_file)
186
- @b.append " /logFile=#{@b.format log_file}"
187
- yield @b if block_given?
188
- self
189
- end
190
- def source(source)
191
- @b.append " /source=#{@b.format source}"
192
- yield @b if block_given?
193
- self
194
- end
195
- end
196
- class List < CommandBase
197
- def initialize(underlying_builder, configuration_file=nil)
198
- super underlying_builder
199
- @b.append ' list'
200
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
201
- end
202
- def log_file(log_file)
203
- @b.append " /logFile=#{@b.format log_file}"
204
- yield @b if block_given?
205
- self
206
- end
207
- def output(snapshot_path)
208
- @b.append " /output=#{@b.format snapshot_path}"
209
- yield @b if block_given?
210
- self
211
- end
212
- def source(source)
213
- @b.append " /source=#{@b.format source}"
214
- yield @b if block_given?
215
- self
216
- end
217
- end
218
- class Merge < CommandBase
219
- def initialize(underlying_builder, configuration_file=nil)
220
- super underlying_builder
221
- @b.append ' merge'
222
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
223
- end
224
- def log_file(log_file)
225
- @b.append " /logFile=#{@b.format log_file}"
226
- yield @b if block_given?
227
- self
228
- end
229
- def output(snapshot_path)
230
- @b.append " /output=#{@b.format snapshot_path}"
231
- yield @b if block_given?
232
- self
233
- end
234
- def source(source)
235
- @b.append " /source=#{@b.format source}"
236
- yield @b if block_given?
237
- self
238
- end
239
- def temp_dir(temp_dir)
240
- @b.append " /tempDir=#{@b.format temp_dir}"
241
- yield @b if block_given?
242
- self
243
- end
244
- end
245
- class Report < CommandBase
246
- def initialize(underlying_builder, configuration_file=nil)
247
- super underlying_builder
248
- @b.append ' report'
249
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
250
- end
251
- def log_file(log_file)
252
- @b.append " /logFile=#{@b.format log_file}"
253
- yield @b if block_given?
254
- self
255
- end
256
- def output(snapshot_path)
257
- @b.append " /output=#{@b.format snapshot_path}"
258
- yield @b if block_given?
259
- self
260
- end
261
- def report_type(report_type)
262
- @b.append " /reportType=#{@b.format report_type}"
263
- yield @b if block_given?
264
- self
265
- end
266
- def source(source)
267
- @b.append " /source=#{@b.format source}"
268
- yield @b if block_given?
269
- self
270
- end
271
- end
272
- class Version < CommandBase
273
- def initialize(underlying_builder, output_file_name=nil)
274
- super underlying_builder
275
- @b.append ' version'
276
- @b.append " #{@b.format output_file_name}" unless output_file_name.nil?
277
- end
278
- def log_file(log_file)
279
- @b.append " /logFile=#{@b.format log_file}"
280
- yield @b if block_given?
281
- self
282
- end
283
- end
284
- class Zip < CommandBase
285
- def initialize(underlying_builder, configuration_file=nil)
286
- super underlying_builder
287
- @b.append ' zip'
288
- @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
289
- end
290
- def log_file(log_file)
291
- @b.append " /logFile=#{@b.format log_file}"
292
- yield @b if block_given?
293
- self
294
- end
295
- def output(snapshot_path)
296
- @b.append " /output=#{@b.format snapshot_path}"
297
- yield @b if block_given?
298
- self
299
- end
300
- def source(source)
301
- @b.append " /source=#{@b.format source}"
302
- yield @b if block_given?
303
- self
304
- end
305
- end
306
-
307
- end
308
- end
309
- end