fluent_command_builder 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fluent_command_builder.rb +1 -0
- data/lib/fluent_command_builder/command_base.rb +10 -0
- data/lib/fluent_command_builder/command_builder.rb +11 -0
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +2 -9
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_35.rb +2 -9
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +2 -9
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +309 -0
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +2 -9
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +9 -72
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +2 -9
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +2 -9
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +2 -9
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +2 -9
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +2 -9
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +2 -9
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +2 -9
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +2 -9
- data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +2 -9
- data/lib/fluent_command_builder/command_builders/mstest_2005.rb +2 -9
- data/lib/fluent_command_builder/command_builders/mstest_2008.rb +2 -9
- data/lib/fluent_command_builder/command_builders/mstest_2010.rb +2 -9
- data/lib/fluent_command_builder/command_builders/netsh_2008.rb +11 -90
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +3 -10
- data/lib/fluent_command_builder/command_builders/rake_09.rb +3 -10
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +10 -81
- data/lib/fluent_command_builder/command_builders/simian_23.rb +2 -9
- data/lib/fluent_command_builder/command_builders/tf_2010.rb +80 -535
- data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +76 -531
- metadata +4 -2
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module DotCover
|
5
6
|
module V11
|
6
|
-
class DotCover
|
7
|
+
class DotCover < CommandBase
|
7
8
|
def initialize builder
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'dotCover'
|
@@ -32,16 +33,8 @@ module FluentCommandBuilder
|
|
32
33
|
def to_s
|
33
34
|
@builder.to_s
|
34
35
|
end
|
35
|
-
def execute
|
36
|
-
begin
|
37
|
-
require 'rake'
|
38
|
-
sh to_s
|
39
|
-
rescue LoadError
|
40
|
-
system to_s
|
41
|
-
end
|
42
|
-
end
|
43
36
|
end
|
44
|
-
class Cover
|
37
|
+
class Cover < CommandBase
|
45
38
|
def initialize builder, configuration_file=nil
|
46
39
|
@builder = builder
|
47
40
|
@builder.append ' cover'
|
@@ -86,16 +79,8 @@ module FluentCommandBuilder
|
|
86
79
|
def to_s
|
87
80
|
@builder.to_s
|
88
81
|
end
|
89
|
-
def execute
|
90
|
-
begin
|
91
|
-
require 'rake'
|
92
|
-
sh to_s
|
93
|
-
rescue LoadError
|
94
|
-
system to_s
|
95
|
-
end
|
96
|
-
end
|
97
82
|
end
|
98
|
-
class Merge
|
83
|
+
class Merge < CommandBase
|
99
84
|
def initialize builder, configuration_file=nil
|
100
85
|
@builder = builder
|
101
86
|
@builder.append ' merge'
|
@@ -116,16 +101,8 @@ module FluentCommandBuilder
|
|
116
101
|
def to_s
|
117
102
|
@builder.to_s
|
118
103
|
end
|
119
|
-
def execute
|
120
|
-
begin
|
121
|
-
require 'rake'
|
122
|
-
sh to_s
|
123
|
-
rescue LoadError
|
124
|
-
system to_s
|
125
|
-
end
|
126
|
-
end
|
127
104
|
end
|
128
|
-
class Report
|
105
|
+
class Report < CommandBase
|
129
106
|
def initialize builder, configuration_file=nil
|
130
107
|
@builder = builder
|
131
108
|
@builder.append ' report'
|
@@ -146,16 +123,8 @@ module FluentCommandBuilder
|
|
146
123
|
def to_s
|
147
124
|
@builder.to_s
|
148
125
|
end
|
149
|
-
def execute
|
150
|
-
begin
|
151
|
-
require 'rake'
|
152
|
-
sh to_s
|
153
|
-
rescue LoadError
|
154
|
-
system to_s
|
155
|
-
end
|
156
|
-
end
|
157
126
|
end
|
158
|
-
class List
|
127
|
+
class List < CommandBase
|
159
128
|
def initialize builder, configuration_file=nil
|
160
129
|
@builder = builder
|
161
130
|
@builder.append ' list'
|
@@ -172,16 +141,8 @@ module FluentCommandBuilder
|
|
172
141
|
def to_s
|
173
142
|
@builder.to_s
|
174
143
|
end
|
175
|
-
def execute
|
176
|
-
begin
|
177
|
-
require 'rake'
|
178
|
-
sh to_s
|
179
|
-
rescue LoadError
|
180
|
-
system to_s
|
181
|
-
end
|
182
|
-
end
|
183
144
|
end
|
184
|
-
class Delete
|
145
|
+
class Delete < CommandBase
|
185
146
|
def initialize builder, configuration_file=nil
|
186
147
|
@builder = builder
|
187
148
|
@builder.append ' delete'
|
@@ -194,16 +155,8 @@ module FluentCommandBuilder
|
|
194
155
|
def to_s
|
195
156
|
@builder.to_s
|
196
157
|
end
|
197
|
-
def execute
|
198
|
-
begin
|
199
|
-
require 'rake'
|
200
|
-
sh to_s
|
201
|
-
rescue LoadError
|
202
|
-
system to_s
|
203
|
-
end
|
204
|
-
end
|
205
158
|
end
|
206
|
-
class Analyse
|
159
|
+
class Analyse < CommandBase
|
207
160
|
def initialize builder, configuration_file=nil
|
208
161
|
@builder = builder
|
209
162
|
@builder.append ' analyse'
|
@@ -252,16 +205,8 @@ module FluentCommandBuilder
|
|
252
205
|
def to_s
|
253
206
|
@builder.to_s
|
254
207
|
end
|
255
|
-
def execute
|
256
|
-
begin
|
257
|
-
require 'rake'
|
258
|
-
sh to_s
|
259
|
-
rescue LoadError
|
260
|
-
system to_s
|
261
|
-
end
|
262
|
-
end
|
263
208
|
end
|
264
|
-
class Zip
|
209
|
+
class Zip < CommandBase
|
265
210
|
def initialize builder, configuration_file=nil
|
266
211
|
@builder = builder
|
267
212
|
@builder.append ' zip'
|
@@ -278,14 +223,6 @@ module FluentCommandBuilder
|
|
278
223
|
def to_s
|
279
224
|
@builder.to_s
|
280
225
|
end
|
281
|
-
def execute
|
282
|
-
begin
|
283
|
-
require 'rake'
|
284
|
-
sh to_s
|
285
|
-
rescue LoadError
|
286
|
-
system to_s
|
287
|
-
end
|
288
|
-
end
|
289
226
|
end
|
290
227
|
def dotcover
|
291
228
|
DotCover.new CommandBuilder.new
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module InstallUtil
|
5
6
|
module V11
|
6
|
-
class InstallUtil
|
7
|
+
class InstallUtil < CommandBase
|
7
8
|
def initialize builder, assembly_name
|
8
9
|
@builder = builder
|
9
10
|
@builder.append "installUtil #{@builder.format assembly_name}"
|
@@ -33,14 +34,6 @@ module FluentCommandBuilder
|
|
33
34
|
def to_s
|
34
35
|
@builder.to_s
|
35
36
|
end
|
36
|
-
def execute
|
37
|
-
begin
|
38
|
-
require 'rake'
|
39
|
-
sh to_s
|
40
|
-
rescue LoadError
|
41
|
-
system to_s
|
42
|
-
end
|
43
|
-
end
|
44
37
|
end
|
45
38
|
def installutil assembly_name
|
46
39
|
InstallUtil.new CommandBuilder.new, assembly_name
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module InstallUtil
|
5
6
|
module V20
|
6
|
-
class InstallUtil
|
7
|
+
class InstallUtil < CommandBase
|
7
8
|
def initialize builder, assembly_name=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'installUtil'
|
@@ -38,14 +39,6 @@ module FluentCommandBuilder
|
|
38
39
|
def to_s
|
39
40
|
@builder.to_s
|
40
41
|
end
|
41
|
-
def execute
|
42
|
-
begin
|
43
|
-
require 'rake'
|
44
|
-
sh to_s
|
45
|
-
rescue LoadError
|
46
|
-
system to_s
|
47
|
-
end
|
48
|
-
end
|
49
42
|
end
|
50
43
|
def installutil assembly_name=nil
|
51
44
|
InstallUtil.new CommandBuilder.new, assembly_name
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module InstallUtil
|
5
6
|
module V35
|
6
|
-
class InstallUtil
|
7
|
+
class InstallUtil < CommandBase
|
7
8
|
def initialize builder, assembly_name=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'installUtil'
|
@@ -38,14 +39,6 @@ module FluentCommandBuilder
|
|
38
39
|
def to_s
|
39
40
|
@builder.to_s
|
40
41
|
end
|
41
|
-
def execute
|
42
|
-
begin
|
43
|
-
require 'rake'
|
44
|
-
sh to_s
|
45
|
-
rescue LoadError
|
46
|
-
system to_s
|
47
|
-
end
|
48
|
-
end
|
49
42
|
end
|
50
43
|
def installutil assembly_name=nil
|
51
44
|
InstallUtil.new CommandBuilder.new, assembly_name
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module InstallUtil
|
5
6
|
module V40
|
6
|
-
class InstallUtil
|
7
|
+
class InstallUtil < CommandBase
|
7
8
|
def initialize builder, assembly_name=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'installUtil'
|
@@ -43,14 +44,6 @@ module FluentCommandBuilder
|
|
43
44
|
def to_s
|
44
45
|
@builder.to_s
|
45
46
|
end
|
46
|
-
def execute
|
47
|
-
begin
|
48
|
-
require 'rake'
|
49
|
-
sh to_s
|
50
|
-
rescue LoadError
|
51
|
-
system to_s
|
52
|
-
end
|
53
|
-
end
|
54
47
|
end
|
55
48
|
def installutil assembly_name=nil
|
56
49
|
InstallUtil.new CommandBuilder.new, assembly_name
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSBuild
|
5
6
|
module V20
|
6
|
-
class MSBuild
|
7
|
+
class MSBuild < CommandBase
|
7
8
|
def initialize builder, project_file=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSBuild'
|
@@ -61,14 +62,6 @@ module FluentCommandBuilder
|
|
61
62
|
def to_s
|
62
63
|
@builder.to_s
|
63
64
|
end
|
64
|
-
def execute
|
65
|
-
begin
|
66
|
-
require 'rake'
|
67
|
-
sh to_s
|
68
|
-
rescue LoadError
|
69
|
-
system to_s
|
70
|
-
end
|
71
|
-
end
|
72
65
|
end
|
73
66
|
def msbuild project_file=nil
|
74
67
|
MSBuild.new CommandBuilder.new, project_file
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSBuild
|
5
6
|
module V30
|
6
|
-
class MSBuild
|
7
|
+
class MSBuild < CommandBase
|
7
8
|
def initialize builder, project_file=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSBuild'
|
@@ -61,14 +62,6 @@ module FluentCommandBuilder
|
|
61
62
|
def to_s
|
62
63
|
@builder.to_s
|
63
64
|
end
|
64
|
-
def execute
|
65
|
-
begin
|
66
|
-
require 'rake'
|
67
|
-
sh to_s
|
68
|
-
rescue LoadError
|
69
|
-
system to_s
|
70
|
-
end
|
71
|
-
end
|
72
65
|
end
|
73
66
|
def msbuild project_file=nil
|
74
67
|
MSBuild.new CommandBuilder.new, project_file
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSBuild
|
5
6
|
module V35
|
6
|
-
class MSBuild
|
7
|
+
class MSBuild < CommandBase
|
7
8
|
def initialize builder, project_file=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSBuild'
|
@@ -93,14 +94,6 @@ module FluentCommandBuilder
|
|
93
94
|
def to_s
|
94
95
|
@builder.to_s
|
95
96
|
end
|
96
|
-
def execute
|
97
|
-
begin
|
98
|
-
require 'rake'
|
99
|
-
sh to_s
|
100
|
-
rescue LoadError
|
101
|
-
system to_s
|
102
|
-
end
|
103
|
-
end
|
104
97
|
end
|
105
98
|
def msbuild project_file=nil
|
106
99
|
MSBuild.new CommandBuilder.new, project_file
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSBuild
|
5
6
|
module V40
|
6
|
-
class MSBuild
|
7
|
+
class MSBuild < CommandBase
|
7
8
|
def initialize builder, project_file=nil
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSBuild'
|
@@ -96,14 +97,6 @@ module FluentCommandBuilder
|
|
96
97
|
def to_s
|
97
98
|
@builder.to_s
|
98
99
|
end
|
99
|
-
def execute
|
100
|
-
begin
|
101
|
-
require 'rake'
|
102
|
-
sh to_s
|
103
|
-
rescue LoadError
|
104
|
-
system to_s
|
105
|
-
end
|
106
|
-
end
|
107
100
|
end
|
108
101
|
def msbuild project_file=nil
|
109
102
|
MSBuild.new CommandBuilder.new, project_file
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSDeploy
|
5
6
|
module V40
|
6
|
-
class MSDeploy
|
7
|
+
class MSDeploy < CommandBase
|
7
8
|
def initialize builder
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSDeploy'
|
@@ -131,14 +132,6 @@ module FluentCommandBuilder
|
|
131
132
|
def to_s
|
132
133
|
@builder.to_s
|
133
134
|
end
|
134
|
-
def execute
|
135
|
-
begin
|
136
|
-
require 'rake'
|
137
|
-
sh to_s
|
138
|
-
rescue LoadError
|
139
|
-
system to_s
|
140
|
-
end
|
141
|
-
end
|
142
135
|
end
|
143
136
|
def msdeploy
|
144
137
|
MSDeploy.new CommandBuilder.new
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSTest
|
5
6
|
module V2005
|
6
|
-
class MSTest
|
7
|
+
class MSTest < CommandBase
|
7
8
|
def initialize builder
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSTest'
|
@@ -75,14 +76,6 @@ module FluentCommandBuilder
|
|
75
76
|
def to_s
|
76
77
|
@builder.to_s
|
77
78
|
end
|
78
|
-
def execute
|
79
|
-
begin
|
80
|
-
require 'rake'
|
81
|
-
sh to_s
|
82
|
-
rescue LoadError
|
83
|
-
system to_s
|
84
|
-
end
|
85
|
-
end
|
86
79
|
end
|
87
80
|
def mstest
|
88
81
|
MSTest.new CommandBuilder.new
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSTest
|
5
6
|
module V2008
|
6
|
-
class MSTest
|
7
|
+
class MSTest < CommandBase
|
7
8
|
def initialize builder
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSTest'
|
@@ -79,14 +80,6 @@ module FluentCommandBuilder
|
|
79
80
|
def to_s
|
80
81
|
@builder.to_s
|
81
82
|
end
|
82
|
-
def execute
|
83
|
-
begin
|
84
|
-
require 'rake'
|
85
|
-
sh to_s
|
86
|
-
rescue LoadError
|
87
|
-
system to_s
|
88
|
-
end
|
89
|
-
end
|
90
83
|
end
|
91
84
|
def mstest
|
92
85
|
MSTest.new CommandBuilder.new
|
@@ -1,9 +1,10 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
1
2
|
require File.expand_path(File.dirname(__FILE__) + '/../command_builder')
|
2
3
|
|
3
4
|
module FluentCommandBuilder
|
4
5
|
module MSTest
|
5
6
|
module V2010
|
6
|
-
class MSTest
|
7
|
+
class MSTest < CommandBase
|
7
8
|
def initialize builder
|
8
9
|
@builder = builder
|
9
10
|
@builder.append 'MSTest'
|
@@ -91,14 +92,6 @@ module FluentCommandBuilder
|
|
91
92
|
def to_s
|
92
93
|
@builder.to_s
|
93
94
|
end
|
94
|
-
def execute
|
95
|
-
begin
|
96
|
-
require 'rake'
|
97
|
-
sh to_s
|
98
|
-
rescue LoadError
|
99
|
-
system to_s
|
100
|
-
end
|
101
|
-
end
|
102
95
|
end
|
103
96
|
def mstest
|
104
97
|
MSTest.new CommandBuilder.new
|