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,14 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require 'getversion'
4
+ require_relative '../internal/underlying_builder'
5
+
6
+ module FluentCommandBuilder
7
+ module DotCover
8
+ COMMAND_NAME = 'dotCover'
9
+ def self.version(path=nil)
10
+ executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
11
+ GetVersion[executable]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,68 @@
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 V10
10
+ VERSION = '1.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)
28
+ @b.append " analyse #{@b.format configuration_file}"
29
+ yield @b if block_given?
30
+ self
31
+ end
32
+ def cover(configuration_file)
33
+ @b.append " cover #{@b.format configuration_file}"
34
+ yield @b if block_given?
35
+ self
36
+ end
37
+ def delete(configuration_file)
38
+ @b.append " delete #{@b.format configuration_file}"
39
+ yield @b if block_given?
40
+ self
41
+ end
42
+ def help(command=nil, file_name=nil)
43
+ @b.append ' help'
44
+ @b.append " #{@b.format command}" unless command.nil?
45
+ @b.append " #{@b.format file_name}" unless file_name.nil?
46
+ yield @b if block_given?
47
+ self
48
+ end
49
+ def list(configuration_file)
50
+ @b.append " list #{@b.format configuration_file}"
51
+ yield @b if block_given?
52
+ self
53
+ end
54
+ def merge(configuration_file)
55
+ @b.append " merge #{@b.format configuration_file}"
56
+ yield @b if block_given?
57
+ self
58
+ end
59
+ def report(configuration_file)
60
+ @b.append " report #{@b.format configuration_file}"
61
+ yield @b if block_given?
62
+ self
63
+ end
64
+ end
65
+
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,298 @@
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 V11
10
+ VERSION = '1.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 filters(filters)
71
+ @b.append " /filters=#{@b.format filters, ';'}"
72
+ yield @b if block_given?
73
+ self
74
+ end
75
+ def inherit_console(bool)
76
+ @b.append " /inheritConsole=#{@b.format bool}"
77
+ yield @b if block_given?
78
+ self
79
+ end
80
+ def log_file(log_file)
81
+ @b.append " /logFile=#{@b.format log_file}"
82
+ yield @b if block_given?
83
+ self
84
+ end
85
+ def output(snapshot_path)
86
+ @b.append " /output=#{@b.format snapshot_path}"
87
+ yield @b if block_given?
88
+ self
89
+ end
90
+ def report_type(report_type)
91
+ @b.append " /reportType=#{@b.format report_type}"
92
+ yield @b if block_given?
93
+ self
94
+ end
95
+ def target_arguments(target_arguments)
96
+ @b.append " /targetArguments=#{@b.format target_arguments}"
97
+ yield @b if block_given?
98
+ self
99
+ end
100
+ def target_executable(target_executable)
101
+ @b.append " /targetExecutable=#{@b.format target_executable}"
102
+ yield @b if block_given?
103
+ self
104
+ end
105
+ def target_working_dir(target_working_dir)
106
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
107
+ yield @b if block_given?
108
+ self
109
+ end
110
+ def temp_dir(temp_dir)
111
+ @b.append " /tempDir=#{@b.format temp_dir}"
112
+ yield @b if block_given?
113
+ self
114
+ end
115
+ end
116
+ class Cover < CommandBase
117
+ def initialize(underlying_builder, configuration_file=nil)
118
+ super underlying_builder
119
+ @b.append ' cover'
120
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
121
+ end
122
+ def analyse_target_arguments(bool)
123
+ @b.append " /analyseTargetArguments=#{@b.format bool}"
124
+ yield @b if block_given?
125
+ self
126
+ end
127
+ def filters(filters)
128
+ @b.append " /filters=#{@b.format filters, ';'}"
129
+ yield @b if block_given?
130
+ self
131
+ end
132
+ def inherit_console(bool)
133
+ @b.append " /inheritConsole=#{@b.format bool}"
134
+ yield @b if block_given?
135
+ self
136
+ end
137
+ def log_file(log_file)
138
+ @b.append " /logFile=#{@b.format log_file}"
139
+ yield @b if block_given?
140
+ self
141
+ end
142
+ def output(snapshot_path)
143
+ @b.append " /output=#{@b.format snapshot_path}"
144
+ yield @b if block_given?
145
+ self
146
+ end
147
+ def target_arguments(target_arguments)
148
+ @b.append " /targetArguments=#{@b.format target_arguments}"
149
+ yield @b if block_given?
150
+ self
151
+ end
152
+ def target_executable(target_executable)
153
+ @b.append " /targetExecutable=#{@b.format target_executable}"
154
+ yield @b if block_given?
155
+ self
156
+ end
157
+ def target_working_dir(target_working_dir)
158
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
159
+ yield @b if block_given?
160
+ self
161
+ end
162
+ def temp_dir(temp_dir)
163
+ @b.append " /tempDir=#{@b.format temp_dir}"
164
+ yield @b if block_given?
165
+ self
166
+ end
167
+ end
168
+ class Delete < CommandBase
169
+ def initialize(underlying_builder, configuration_file=nil)
170
+ super underlying_builder
171
+ @b.append ' delete'
172
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
173
+ end
174
+ def log_file(log_file)
175
+ @b.append " /logFile=#{@b.format log_file}"
176
+ yield @b if block_given?
177
+ self
178
+ end
179
+ def source(source)
180
+ @b.append " /source=#{@b.format source}"
181
+ yield @b if block_given?
182
+ self
183
+ end
184
+ end
185
+ class List < CommandBase
186
+ def initialize(underlying_builder, configuration_file=nil)
187
+ super underlying_builder
188
+ @b.append ' list'
189
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
190
+ end
191
+ def log_file(log_file)
192
+ @b.append " /logFile=#{@b.format log_file}"
193
+ yield @b if block_given?
194
+ self
195
+ end
196
+ def output(snapshot_path)
197
+ @b.append " /output=#{@b.format snapshot_path}"
198
+ yield @b if block_given?
199
+ self
200
+ end
201
+ def source(source)
202
+ @b.append " /source=#{@b.format source}"
203
+ yield @b if block_given?
204
+ self
205
+ end
206
+ end
207
+ class Merge < CommandBase
208
+ def initialize(underlying_builder, configuration_file=nil)
209
+ super underlying_builder
210
+ @b.append ' merge'
211
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
212
+ end
213
+ def log_file(log_file)
214
+ @b.append " /logFile=#{@b.format log_file}"
215
+ yield @b if block_given?
216
+ self
217
+ end
218
+ def output(snapshot_path)
219
+ @b.append " /output=#{@b.format snapshot_path}"
220
+ yield @b if block_given?
221
+ self
222
+ end
223
+ def source(source)
224
+ @b.append " /source=#{@b.format source}"
225
+ yield @b if block_given?
226
+ self
227
+ end
228
+ def temp_dir(temp_dir)
229
+ @b.append " /tempDir=#{@b.format temp_dir}"
230
+ yield @b if block_given?
231
+ self
232
+ end
233
+ end
234
+ class Report < CommandBase
235
+ def initialize(underlying_builder, configuration_file=nil)
236
+ super underlying_builder
237
+ @b.append ' report'
238
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
239
+ end
240
+ def log_file(log_file)
241
+ @b.append " /logFile=#{@b.format log_file}"
242
+ yield @b if block_given?
243
+ self
244
+ end
245
+ def output(snapshot_path)
246
+ @b.append " /output=#{@b.format snapshot_path}"
247
+ yield @b if block_given?
248
+ self
249
+ end
250
+ def report_type(report_type)
251
+ @b.append " /reportType=#{@b.format report_type}"
252
+ yield @b if block_given?
253
+ self
254
+ end
255
+ def source(source)
256
+ @b.append " /source=#{@b.format source}"
257
+ yield @b if block_given?
258
+ self
259
+ end
260
+ end
261
+ class Version < CommandBase
262
+ def initialize(underlying_builder, output_file_name=nil)
263
+ super underlying_builder
264
+ @b.append ' version'
265
+ @b.append " #{@b.format output_file_name}" unless output_file_name.nil?
266
+ end
267
+ def log_file(log_file)
268
+ @b.append " /logFile=#{@b.format log_file}"
269
+ yield @b if block_given?
270
+ self
271
+ end
272
+ end
273
+ class Zip < CommandBase
274
+ def initialize(underlying_builder, configuration_file=nil)
275
+ super underlying_builder
276
+ @b.append ' zip'
277
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
278
+ end
279
+ def log_file(log_file)
280
+ @b.append " /logFile=#{@b.format log_file}"
281
+ yield @b if block_given?
282
+ self
283
+ end
284
+ def output(snapshot_path)
285
+ @b.append " /output=#{@b.format snapshot_path}"
286
+ yield @b if block_given?
287
+ self
288
+ end
289
+ def source(source)
290
+ @b.append " /source=#{@b.format source}"
291
+ yield @b if block_given?
292
+ self
293
+ end
294
+ end
295
+
296
+ end
297
+ end
298
+ end
@@ -0,0 +1,298 @@
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 V12
10
+ VERSION = '1.2'
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 filters(filters)
71
+ @b.append " /filters=#{@b.format filters, ';'}"
72
+ yield @b if block_given?
73
+ self
74
+ end
75
+ def inherit_console(bool)
76
+ @b.append " /inheritConsole=#{@b.format bool}"
77
+ yield @b if block_given?
78
+ self
79
+ end
80
+ def log_file(log_file)
81
+ @b.append " /logFile=#{@b.format log_file}"
82
+ yield @b if block_given?
83
+ self
84
+ end
85
+ def output(snapshot_path)
86
+ @b.append " /output=#{@b.format snapshot_path}"
87
+ yield @b if block_given?
88
+ self
89
+ end
90
+ def report_type(report_type)
91
+ @b.append " /reportType=#{@b.format report_type}"
92
+ yield @b if block_given?
93
+ self
94
+ end
95
+ def target_arguments(target_arguments)
96
+ @b.append " /targetArguments=#{@b.format target_arguments}"
97
+ yield @b if block_given?
98
+ self
99
+ end
100
+ def target_executable(target_executable)
101
+ @b.append " /targetExecutable=#{@b.format target_executable}"
102
+ yield @b if block_given?
103
+ self
104
+ end
105
+ def target_working_dir(target_working_dir)
106
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
107
+ yield @b if block_given?
108
+ self
109
+ end
110
+ def temp_dir(temp_dir)
111
+ @b.append " /tempDir=#{@b.format temp_dir}"
112
+ yield @b if block_given?
113
+ self
114
+ end
115
+ end
116
+ class Cover < CommandBase
117
+ def initialize(underlying_builder, configuration_file=nil)
118
+ super underlying_builder
119
+ @b.append ' cover'
120
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
121
+ end
122
+ def analyse_target_arguments(bool)
123
+ @b.append " /analyseTargetArguments=#{@b.format bool}"
124
+ yield @b if block_given?
125
+ self
126
+ end
127
+ def filters(filters)
128
+ @b.append " /filters=#{@b.format filters, ';'}"
129
+ yield @b if block_given?
130
+ self
131
+ end
132
+ def inherit_console(bool)
133
+ @b.append " /inheritConsole=#{@b.format bool}"
134
+ yield @b if block_given?
135
+ self
136
+ end
137
+ def log_file(log_file)
138
+ @b.append " /logFile=#{@b.format log_file}"
139
+ yield @b if block_given?
140
+ self
141
+ end
142
+ def output(snapshot_path)
143
+ @b.append " /output=#{@b.format snapshot_path}"
144
+ yield @b if block_given?
145
+ self
146
+ end
147
+ def target_arguments(target_arguments)
148
+ @b.append " /targetArguments=#{@b.format target_arguments}"
149
+ yield @b if block_given?
150
+ self
151
+ end
152
+ def target_executable(target_executable)
153
+ @b.append " /targetExecutable=#{@b.format target_executable}"
154
+ yield @b if block_given?
155
+ self
156
+ end
157
+ def target_working_dir(target_working_dir)
158
+ @b.append " /targetWorkingDir=#{@b.format target_working_dir}"
159
+ yield @b if block_given?
160
+ self
161
+ end
162
+ def temp_dir(temp_dir)
163
+ @b.append " /tempDir=#{@b.format temp_dir}"
164
+ yield @b if block_given?
165
+ self
166
+ end
167
+ end
168
+ class Delete < CommandBase
169
+ def initialize(underlying_builder, configuration_file=nil)
170
+ super underlying_builder
171
+ @b.append ' delete'
172
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
173
+ end
174
+ def log_file(log_file)
175
+ @b.append " /logFile=#{@b.format log_file}"
176
+ yield @b if block_given?
177
+ self
178
+ end
179
+ def source(source)
180
+ @b.append " /source=#{@b.format source}"
181
+ yield @b if block_given?
182
+ self
183
+ end
184
+ end
185
+ class List < CommandBase
186
+ def initialize(underlying_builder, configuration_file=nil)
187
+ super underlying_builder
188
+ @b.append ' list'
189
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
190
+ end
191
+ def log_file(log_file)
192
+ @b.append " /logFile=#{@b.format log_file}"
193
+ yield @b if block_given?
194
+ self
195
+ end
196
+ def output(snapshot_path)
197
+ @b.append " /output=#{@b.format snapshot_path}"
198
+ yield @b if block_given?
199
+ self
200
+ end
201
+ def source(source)
202
+ @b.append " /source=#{@b.format source}"
203
+ yield @b if block_given?
204
+ self
205
+ end
206
+ end
207
+ class Merge < CommandBase
208
+ def initialize(underlying_builder, configuration_file=nil)
209
+ super underlying_builder
210
+ @b.append ' merge'
211
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
212
+ end
213
+ def log_file(log_file)
214
+ @b.append " /logFile=#{@b.format log_file}"
215
+ yield @b if block_given?
216
+ self
217
+ end
218
+ def output(snapshot_path)
219
+ @b.append " /output=#{@b.format snapshot_path}"
220
+ yield @b if block_given?
221
+ self
222
+ end
223
+ def source(source)
224
+ @b.append " /source=#{@b.format source}"
225
+ yield @b if block_given?
226
+ self
227
+ end
228
+ def temp_dir(temp_dir)
229
+ @b.append " /tempDir=#{@b.format temp_dir}"
230
+ yield @b if block_given?
231
+ self
232
+ end
233
+ end
234
+ class Report < CommandBase
235
+ def initialize(underlying_builder, configuration_file=nil)
236
+ super underlying_builder
237
+ @b.append ' report'
238
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
239
+ end
240
+ def log_file(log_file)
241
+ @b.append " /logFile=#{@b.format log_file}"
242
+ yield @b if block_given?
243
+ self
244
+ end
245
+ def output(snapshot_path)
246
+ @b.append " /output=#{@b.format snapshot_path}"
247
+ yield @b if block_given?
248
+ self
249
+ end
250
+ def report_type(report_type)
251
+ @b.append " /reportType=#{@b.format report_type}"
252
+ yield @b if block_given?
253
+ self
254
+ end
255
+ def source(source)
256
+ @b.append " /source=#{@b.format source}"
257
+ yield @b if block_given?
258
+ self
259
+ end
260
+ end
261
+ class Version < CommandBase
262
+ def initialize(underlying_builder, output_file_name=nil)
263
+ super underlying_builder
264
+ @b.append ' version'
265
+ @b.append " #{@b.format output_file_name}" unless output_file_name.nil?
266
+ end
267
+ def log_file(log_file)
268
+ @b.append " /logFile=#{@b.format log_file}"
269
+ yield @b if block_given?
270
+ self
271
+ end
272
+ end
273
+ class Zip < CommandBase
274
+ def initialize(underlying_builder, configuration_file=nil)
275
+ super underlying_builder
276
+ @b.append ' zip'
277
+ @b.append " #{@b.format configuration_file}" unless configuration_file.nil?
278
+ end
279
+ def log_file(log_file)
280
+ @b.append " /logFile=#{@b.format log_file}"
281
+ yield @b if block_given?
282
+ self
283
+ end
284
+ def output(snapshot_path)
285
+ @b.append " /output=#{@b.format snapshot_path}"
286
+ yield @b if block_given?
287
+ self
288
+ end
289
+ def source(source)
290
+ @b.append " /source=#{@b.format source}"
291
+ yield @b if block_given?
292
+ self
293
+ end
294
+ end
295
+
296
+ end
297
+ end
298
+ end