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