fluent_command_builder 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fluent_command_builder/command_builder.rb +2 -2
- data/lib/fluent_command_builder/command_executors/backticks_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/dry_run_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/rake_sh_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/system_executor.rb +1 -1
- data/lib/fluent_command_builder/execution_context.rb +2 -2
- data/lib/fluent_command_builder/internal/argument_formatter.rb +1 -1
- data/lib/fluent_command_builder/internal/command_builder_config.rb +7 -10
- data/lib/fluent_command_builder/internal/path.rb +9 -3
- data/lib/fluent_command_builder/internal/path_validator.rb +4 -5
- data/lib/fluent_command_builder/internal/underlying_builder.rb +3 -3
- data/lib/fluent_command_builder/version_validator.rb +11 -6
- metadata +55 -90
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +0 -19
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +0 -2613
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +0 -2603
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +0 -19
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +0 -103
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +0 -103
- data/lib/fluent_command_builder/command_builders/bundle.rb +0 -19
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +0 -321
- data/lib/fluent_command_builder/command_builders/bundle_12.rb +0 -345
- data/lib/fluent_command_builder/command_builders/cucumber.rb +0 -19
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +0 -178
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +0 -183
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +0 -19
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +0 -208
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +0 -208
- data/lib/fluent_command_builder/command_builders/dotcover.rb +0 -19
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +0 -69
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +0 -299
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +0 -299
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +0 -309
- data/lib/fluent_command_builder/command_builders/dotcover_21.rb +0 -309
- data/lib/fluent_command_builder/command_builders/dotcover_22.rb +0 -309
- data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +0 -19
- data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +0 -263
- data/lib/fluent_command_builder/command_builders/installutil.rb +0 -19
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +0 -64
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +0 -69
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +0 -69
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +0 -75
- data/lib/fluent_command_builder/command_builders/msbuild.rb +0 -19
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +0 -94
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +0 -94
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +0 -134
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +0 -137
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +0 -19
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +0 -182
- data/lib/fluent_command_builder/command_builders/mstest.rb +0 -19
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +0 -132
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +0 -112
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +0 -117
- data/lib/fluent_command_builder/command_builders/netsh.rb +0 -19
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +0 -413
- data/lib/fluent_command_builder/command_builders/nuget.rb +0 -19
- data/lib/fluent_command_builder/command_builders/nuget_20.rb +0 -437
- data/lib/fluent_command_builder/command_builders/nuget_21.rb +0 -533
- data/lib/fluent_command_builder/command_builders/nunit.rb +0 -19
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +0 -153
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +0 -193
- data/lib/fluent_command_builder/command_builders/rake.rb +0 -19
- data/lib/fluent_command_builder/command_builders/rake_09.rb +0 -156
- data/lib/fluent_command_builder/command_builders/rake_100.rb +0 -194
- data/lib/fluent_command_builder/command_builders/schtasks.rb +0 -19
- data/lib/fluent_command_builder/command_builders/schtasks_61.rb +0 -353
- data/lib/fluent_command_builder/command_builders/security_osx.rb +0 -19
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +0 -188
- data/lib/fluent_command_builder/command_builders/security_osx_108.rb +0 -188
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +0 -19
- data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +0 -523
- data/lib/fluent_command_builder/command_builders/simian.rb +0 -19
- data/lib/fluent_command_builder/command_builders/simian_23.rb +0 -147
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +0 -19
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +0 -2160
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +0 -19
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +0 -1885
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +0 -2003
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +0 -19
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +0 -276
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +0 -326
- data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +0 -331
- data/lib/fluent_command_builder/internal/path_finder.rb +0 -20
- data/lib/fluent_command_builder/internal/path_finders/unix_path_finder.rb +0 -13
- data/lib/fluent_command_builder/internal/path_finders/windows_path_finder.rb +0 -14
- data/lib/fluent_command_builder/version_detectors.rb +0 -1
- data/lib/fluent_command_builder/version_detectors/appengine_python_version_detector.rb +0 -23
- data/lib/fluent_command_builder/version_detectors/default_version_detector.rb +0 -35
- data/lib/fluent_command_builder/version_detectors/dot_net_framework_version_detector.rb +0 -24
- data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +0 -19
- data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +0 -30
- 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
|