fluent_command_builder 0.9.9 → 0.9.10

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