fluent_command_builder 0.1.5 → 0.1.6
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 +2 -1
- data/lib/fluent_command_builder/command_builder.rb +1 -1
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +31 -58
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_35.rb +31 -58
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +31 -58
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +38 -76
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +81 -155
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +18 -35
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +21 -38
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +21 -38
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +24 -41
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +24 -48
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +24 -48
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +32 -64
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +37 -156
- data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +39 -78
- data/lib/fluent_command_builder/command_builders/mstest_2005.rb +25 -50
- data/lib/fluent_command_builder/command_builders/mstest_2008.rb +26 -52
- data/lib/fluent_command_builder/command_builders/mstest_2010.rb +29 -58
- data/lib/fluent_command_builder/command_builders/netsh_2008.rb +105 -204
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +103 -0
- data/lib/fluent_command_builder/command_builders/rake_09.rb +32 -64
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +428 -0
- data/lib/fluent_command_builder/command_builders/simian_23.rb +32 -64
- data/lib/fluent_command_builder/command_builders/tf_2010.rb +502 -969
- data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +483 -930
- metadata +4 -3
- data/lib/fluent_command_builder/command_builders/nunit_console_25.rb +0 -137
@@ -16,8 +16,9 @@ require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/comma
|
|
16
16
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/mstest_2008.rb')
|
17
17
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/mstest_2010.rb')
|
18
18
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/netsh_2008.rb')
|
19
|
-
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/
|
19
|
+
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/nunit_25.rb')
|
20
20
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/rake_09.rb')
|
21
|
+
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/sevenzip_92.rb')
|
21
22
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/simian_23.rb')
|
22
23
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/tf_2010.rb')
|
23
24
|
require File.expand_path(File.dirname(__FILE__) + '/fluent_command_builder/command_builders/tf_tee_2010.rb')
|
@@ -4,104 +4,77 @@ module FluentCommandBuilder
|
|
4
4
|
module AspnetCompiler
|
5
5
|
module V20
|
6
6
|
class AspnetCompiler
|
7
|
-
def initialize
|
8
|
-
@
|
9
|
-
@
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
def target_dir target_dir
|
14
|
-
@b.append "#{@b.format target_dir}"
|
15
|
-
self
|
7
|
+
def initialize builder, target_dir=nil
|
8
|
+
@builder = builder
|
9
|
+
@builder.append 'aspnet_compiler'
|
10
|
+
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
16
11
|
end
|
17
|
-
|
18
|
-
|
19
|
-
@b.append "-m #{@b.format metabase_path}"
|
12
|
+
def metabase_path metabase_path
|
13
|
+
@builder.append " -m #{@builder.format metabase_path}"
|
20
14
|
self
|
21
15
|
end
|
22
|
-
|
23
|
-
|
24
|
-
@b.append "-v #{@b.format virtual_path}"
|
16
|
+
def virtual_path virtual_path
|
17
|
+
@builder.append " -v #{@builder.format virtual_path}"
|
25
18
|
self
|
26
19
|
end
|
27
|
-
|
28
|
-
|
29
|
-
@b.append "-p #{@b.format physical_path}"
|
20
|
+
def physical_path physical_path
|
21
|
+
@builder.append " -p #{@builder.format physical_path}"
|
30
22
|
self
|
31
23
|
end
|
32
|
-
|
33
|
-
|
34
|
-
@b.append '-u'
|
24
|
+
def allow_subsequent_updates
|
25
|
+
@builder.append ' -u'
|
35
26
|
self
|
36
27
|
end
|
37
|
-
|
38
|
-
|
39
|
-
@b.append '-f'
|
28
|
+
def force_overwrite_files
|
29
|
+
@builder.append ' -f'
|
40
30
|
self
|
41
31
|
end
|
42
|
-
|
43
|
-
|
44
|
-
@b.append '-d'
|
32
|
+
def force_debug_output
|
33
|
+
@builder.append ' -d'
|
45
34
|
self
|
46
35
|
end
|
47
|
-
|
48
36
|
def fixed_names
|
49
|
-
@
|
37
|
+
@builder.append ' -fixedNames'
|
50
38
|
self
|
51
39
|
end
|
52
|
-
|
53
|
-
|
54
|
-
@b.append '-c'
|
40
|
+
def full_rebuild
|
41
|
+
@builder.append ' -c'
|
55
42
|
self
|
56
43
|
end
|
57
|
-
|
58
44
|
def error_stack
|
59
|
-
@
|
45
|
+
@builder.append ' -errorStack'
|
60
46
|
self
|
61
47
|
end
|
62
|
-
|
63
48
|
def no_logo
|
64
|
-
@
|
49
|
+
@builder.append ' -noLogo'
|
65
50
|
self
|
66
51
|
end
|
67
|
-
|
68
52
|
def key_file file
|
69
|
-
@
|
53
|
+
@builder.append " -keyFile #{@builder.format file}"
|
70
54
|
self
|
71
55
|
end
|
72
|
-
|
73
56
|
def key_container container
|
74
|
-
@
|
57
|
+
@builder.append " -keyContainer #{@builder.format container}"
|
75
58
|
self
|
76
59
|
end
|
77
|
-
|
78
60
|
def aptca
|
79
|
-
@
|
61
|
+
@builder.append ' -aptca'
|
80
62
|
self
|
81
63
|
end
|
82
|
-
|
83
64
|
def delay_sign
|
84
|
-
@
|
65
|
+
@builder.append ' -delaySign'
|
85
66
|
self
|
86
67
|
end
|
87
|
-
|
88
|
-
|
89
|
-
@b.to_s
|
68
|
+
def to_s
|
69
|
+
@builder.to_s
|
90
70
|
end
|
91
|
-
|
92
71
|
end
|
93
|
-
|
94
|
-
|
95
|
-
AspnetCompiler.new
|
72
|
+
def aspnet_compiler target_dir=nil
|
73
|
+
AspnetCompiler.new CommandBuilder.new, target_dir
|
96
74
|
end
|
97
|
-
|
98
75
|
end
|
99
|
-
|
100
76
|
end
|
101
|
-
|
102
|
-
|
103
|
-
AspnetCompiler::V20::AspnetCompiler.new
|
77
|
+
def aspnet_compiler_20 target_dir=nil
|
78
|
+
AspnetCompiler::V20::AspnetCompiler.new CommandBuilder.new, target_dir
|
104
79
|
end
|
105
|
-
|
106
80
|
end
|
107
|
-
|
@@ -4,104 +4,77 @@ module FluentCommandBuilder
|
|
4
4
|
module AspnetCompiler
|
5
5
|
module V35
|
6
6
|
class AspnetCompiler
|
7
|
-
def initialize
|
8
|
-
@
|
9
|
-
@
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
def target_dir target_dir
|
14
|
-
@b.append "#{@b.format target_dir}"
|
15
|
-
self
|
7
|
+
def initialize builder, target_dir=nil
|
8
|
+
@builder = builder
|
9
|
+
@builder.append 'aspnet_compiler'
|
10
|
+
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
16
11
|
end
|
17
|
-
|
18
|
-
|
19
|
-
@b.append "-m #{@b.format metabase_path}"
|
12
|
+
def metabase_path metabase_path
|
13
|
+
@builder.append " -m #{@builder.format metabase_path}"
|
20
14
|
self
|
21
15
|
end
|
22
|
-
|
23
|
-
|
24
|
-
@b.append "-v #{@b.format virtual_path}"
|
16
|
+
def virtual_path virtual_path
|
17
|
+
@builder.append " -v #{@builder.format virtual_path}"
|
25
18
|
self
|
26
19
|
end
|
27
|
-
|
28
|
-
|
29
|
-
@b.append "-p #{@b.format physical_path}"
|
20
|
+
def physical_path physical_path
|
21
|
+
@builder.append " -p #{@builder.format physical_path}"
|
30
22
|
self
|
31
23
|
end
|
32
|
-
|
33
|
-
|
34
|
-
@b.append '-u'
|
24
|
+
def allow_subsequent_updates
|
25
|
+
@builder.append ' -u'
|
35
26
|
self
|
36
27
|
end
|
37
|
-
|
38
|
-
|
39
|
-
@b.append '-f'
|
28
|
+
def force_overwrite_files
|
29
|
+
@builder.append ' -f'
|
40
30
|
self
|
41
31
|
end
|
42
|
-
|
43
|
-
|
44
|
-
@b.append '-d'
|
32
|
+
def force_debug_output
|
33
|
+
@builder.append ' -d'
|
45
34
|
self
|
46
35
|
end
|
47
|
-
|
48
36
|
def fixed_names
|
49
|
-
@
|
37
|
+
@builder.append ' -fixedNames'
|
50
38
|
self
|
51
39
|
end
|
52
|
-
|
53
|
-
|
54
|
-
@b.append '-c'
|
40
|
+
def full_rebuild
|
41
|
+
@builder.append ' -c'
|
55
42
|
self
|
56
43
|
end
|
57
|
-
|
58
44
|
def error_stack
|
59
|
-
@
|
45
|
+
@builder.append ' -errorStack'
|
60
46
|
self
|
61
47
|
end
|
62
|
-
|
63
48
|
def no_logo
|
64
|
-
@
|
49
|
+
@builder.append ' -noLogo'
|
65
50
|
self
|
66
51
|
end
|
67
|
-
|
68
52
|
def key_file file
|
69
|
-
@
|
53
|
+
@builder.append " -keyFile #{@builder.format file}"
|
70
54
|
self
|
71
55
|
end
|
72
|
-
|
73
56
|
def key_container container
|
74
|
-
@
|
57
|
+
@builder.append " -keyContainer #{@builder.format container}"
|
75
58
|
self
|
76
59
|
end
|
77
|
-
|
78
60
|
def aptca
|
79
|
-
@
|
61
|
+
@builder.append ' -aptca'
|
80
62
|
self
|
81
63
|
end
|
82
|
-
|
83
64
|
def delay_sign
|
84
|
-
@
|
65
|
+
@builder.append ' -delaySign'
|
85
66
|
self
|
86
67
|
end
|
87
|
-
|
88
|
-
|
89
|
-
@b.to_s
|
68
|
+
def to_s
|
69
|
+
@builder.to_s
|
90
70
|
end
|
91
|
-
|
92
71
|
end
|
93
|
-
|
94
|
-
|
95
|
-
AspnetCompiler.new
|
72
|
+
def aspnet_compiler target_dir=nil
|
73
|
+
AspnetCompiler.new CommandBuilder.new, target_dir
|
96
74
|
end
|
97
|
-
|
98
75
|
end
|
99
|
-
|
100
76
|
end
|
101
|
-
|
102
|
-
|
103
|
-
AspnetCompiler::V35::AspnetCompiler.new
|
77
|
+
def aspnet_compiler_35 target_dir=nil
|
78
|
+
AspnetCompiler::V35::AspnetCompiler.new CommandBuilder.new, target_dir
|
104
79
|
end
|
105
|
-
|
106
80
|
end
|
107
|
-
|
@@ -4,104 +4,77 @@ module FluentCommandBuilder
|
|
4
4
|
module AspnetCompiler
|
5
5
|
module V40
|
6
6
|
class AspnetCompiler
|
7
|
-
def initialize
|
8
|
-
@
|
9
|
-
@
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
def target_dir target_dir
|
14
|
-
@b.append "#{@b.format target_dir}"
|
15
|
-
self
|
7
|
+
def initialize builder, target_dir=nil
|
8
|
+
@builder = builder
|
9
|
+
@builder.append 'aspnet_compiler'
|
10
|
+
@builder.append " #{@builder.format target_dir}" unless target_dir.nil?
|
16
11
|
end
|
17
|
-
|
18
|
-
|
19
|
-
@b.append "-m #{@b.format metabase_path}"
|
12
|
+
def metabase_path metabase_path
|
13
|
+
@builder.append " -m #{@builder.format metabase_path}"
|
20
14
|
self
|
21
15
|
end
|
22
|
-
|
23
|
-
|
24
|
-
@b.append "-v #{@b.format virtual_path}"
|
16
|
+
def virtual_path virtual_path
|
17
|
+
@builder.append " -v #{@builder.format virtual_path}"
|
25
18
|
self
|
26
19
|
end
|
27
|
-
|
28
|
-
|
29
|
-
@b.append "-p #{@b.format physical_path}"
|
20
|
+
def physical_path physical_path
|
21
|
+
@builder.append " -p #{@builder.format physical_path}"
|
30
22
|
self
|
31
23
|
end
|
32
|
-
|
33
|
-
|
34
|
-
@b.append '-u'
|
24
|
+
def allow_subsequent_updates
|
25
|
+
@builder.append ' -u'
|
35
26
|
self
|
36
27
|
end
|
37
|
-
|
38
|
-
|
39
|
-
@b.append '-f'
|
28
|
+
def force_overwrite_files
|
29
|
+
@builder.append ' -f'
|
40
30
|
self
|
41
31
|
end
|
42
|
-
|
43
|
-
|
44
|
-
@b.append '-d'
|
32
|
+
def force_debug_output
|
33
|
+
@builder.append ' -d'
|
45
34
|
self
|
46
35
|
end
|
47
|
-
|
48
36
|
def fixed_names
|
49
|
-
@
|
37
|
+
@builder.append ' -fixedNames'
|
50
38
|
self
|
51
39
|
end
|
52
|
-
|
53
|
-
|
54
|
-
@b.append '-c'
|
40
|
+
def full_rebuild
|
41
|
+
@builder.append ' -c'
|
55
42
|
self
|
56
43
|
end
|
57
|
-
|
58
44
|
def error_stack
|
59
|
-
@
|
45
|
+
@builder.append ' -errorStack'
|
60
46
|
self
|
61
47
|
end
|
62
|
-
|
63
48
|
def no_logo
|
64
|
-
@
|
49
|
+
@builder.append ' -noLogo'
|
65
50
|
self
|
66
51
|
end
|
67
|
-
|
68
52
|
def key_file file
|
69
|
-
@
|
53
|
+
@builder.append " -keyFile #{@builder.format file}"
|
70
54
|
self
|
71
55
|
end
|
72
|
-
|
73
56
|
def key_container container
|
74
|
-
@
|
57
|
+
@builder.append " -keyContainer #{@builder.format container}"
|
75
58
|
self
|
76
59
|
end
|
77
|
-
|
78
60
|
def aptca
|
79
|
-
@
|
61
|
+
@builder.append ' -aptca'
|
80
62
|
self
|
81
63
|
end
|
82
|
-
|
83
64
|
def delay_sign
|
84
|
-
@
|
65
|
+
@builder.append ' -delaySign'
|
85
66
|
self
|
86
67
|
end
|
87
|
-
|
88
|
-
|
89
|
-
@b.to_s
|
68
|
+
def to_s
|
69
|
+
@builder.to_s
|
90
70
|
end
|
91
|
-
|
92
71
|
end
|
93
|
-
|
94
|
-
|
95
|
-
AspnetCompiler.new
|
72
|
+
def aspnet_compiler target_dir=nil
|
73
|
+
AspnetCompiler.new CommandBuilder.new, target_dir
|
96
74
|
end
|
97
|
-
|
98
75
|
end
|
99
|
-
|
100
76
|
end
|
101
|
-
|
102
|
-
|
103
|
-
AspnetCompiler::V40::AspnetCompiler.new
|
77
|
+
def aspnet_compiler_40 target_dir=nil
|
78
|
+
AspnetCompiler::V40::AspnetCompiler.new CommandBuilder.new, target_dir
|
104
79
|
end
|
105
|
-
|
106
80
|
end
|
107
|
-
|
@@ -4,174 +4,136 @@ module FluentCommandBuilder
|
|
4
4
|
module Cucumber
|
5
5
|
module V11
|
6
6
|
class Cucumber
|
7
|
-
def initialize
|
8
|
-
@
|
9
|
-
@
|
10
|
-
self
|
7
|
+
def initialize builder
|
8
|
+
@builder = builder
|
9
|
+
@builder.append 'cucumber'
|
11
10
|
end
|
12
|
-
|
13
11
|
def require library
|
14
|
-
@
|
12
|
+
@builder.append " --require #{@builder.format library}"
|
15
13
|
self
|
16
14
|
end
|
17
|
-
|
18
15
|
def i18n lang
|
19
|
-
@
|
16
|
+
@builder.append " --i18n #{@builder.format lang}"
|
20
17
|
self
|
21
18
|
end
|
22
|
-
|
23
19
|
def format format
|
24
|
-
@
|
20
|
+
@builder.append " --format #{@builder.format format}"
|
25
21
|
self
|
26
22
|
end
|
27
|
-
|
28
23
|
def out file
|
29
|
-
@
|
24
|
+
@builder.append " --out #{@builder.format file}"
|
30
25
|
self
|
31
26
|
end
|
32
|
-
|
33
27
|
def tags tag_expression
|
34
|
-
@
|
28
|
+
@builder.append " --tags #{@builder.format tag_expression, ','}"
|
35
29
|
self
|
36
30
|
end
|
37
|
-
|
38
31
|
def name name
|
39
|
-
@
|
32
|
+
@builder.append " --name #{@builder.format name}"
|
40
33
|
self
|
41
34
|
end
|
42
|
-
|
43
35
|
def exclude pattern
|
44
|
-
@
|
36
|
+
@builder.append " --exclude #{@builder.format pattern}"
|
45
37
|
self
|
46
38
|
end
|
47
|
-
|
48
39
|
def profile profile
|
49
|
-
@
|
40
|
+
@builder.append " --profile #{@builder.format profile}"
|
50
41
|
self
|
51
42
|
end
|
52
|
-
|
53
43
|
def no_profile
|
54
|
-
@
|
44
|
+
@builder.append ' --no-profile'
|
55
45
|
self
|
56
46
|
end
|
57
|
-
|
58
47
|
def color
|
59
|
-
@
|
48
|
+
@builder.append ' --color'
|
60
49
|
self
|
61
50
|
end
|
62
|
-
|
63
51
|
def no_color
|
64
|
-
@
|
52
|
+
@builder.append ' --no-color'
|
65
53
|
self
|
66
54
|
end
|
67
|
-
|
68
55
|
def dry_run
|
69
|
-
@
|
56
|
+
@builder.append ' --dry-run'
|
70
57
|
self
|
71
58
|
end
|
72
|
-
|
73
59
|
def autoformat dir
|
74
|
-
@
|
60
|
+
@builder.append " --autoformat #{@builder.format dir}"
|
75
61
|
self
|
76
62
|
end
|
77
|
-
|
78
63
|
def no_multiline
|
79
|
-
@
|
64
|
+
@builder.append ' --no-multiline'
|
80
65
|
self
|
81
66
|
end
|
82
|
-
|
83
67
|
def no_source
|
84
|
-
@
|
68
|
+
@builder.append ' --no-source'
|
85
69
|
self
|
86
70
|
end
|
87
|
-
|
88
71
|
def no_snippets
|
89
|
-
@
|
72
|
+
@builder.append ' --no-snippets'
|
90
73
|
self
|
91
74
|
end
|
92
|
-
|
93
75
|
def quiet
|
94
|
-
@
|
76
|
+
@builder.append ' --quiet'
|
95
77
|
self
|
96
78
|
end
|
97
|
-
|
98
79
|
def backtrace
|
99
|
-
@
|
80
|
+
@builder.append ' --backtrace'
|
100
81
|
self
|
101
82
|
end
|
102
|
-
|
103
83
|
def strict
|
104
|
-
@
|
84
|
+
@builder.append ' --strict'
|
105
85
|
self
|
106
86
|
end
|
107
|
-
|
108
87
|
def wip
|
109
|
-
@
|
88
|
+
@builder.append ' --wip'
|
110
89
|
self
|
111
90
|
end
|
112
|
-
|
113
91
|
def verbose
|
114
|
-
@
|
92
|
+
@builder.append ' --verbose'
|
115
93
|
self
|
116
94
|
end
|
117
|
-
|
118
95
|
def guess
|
119
|
-
@
|
96
|
+
@builder.append ' --guess'
|
120
97
|
self
|
121
98
|
end
|
122
|
-
|
123
99
|
def lines lines
|
124
|
-
@
|
100
|
+
@builder.append " --lines #{@builder.format lines}"
|
125
101
|
self
|
126
102
|
end
|
127
|
-
|
128
103
|
def expand
|
129
|
-
@
|
104
|
+
@builder.append ' --expand'
|
130
105
|
self
|
131
106
|
end
|
132
|
-
|
133
107
|
def drb
|
134
|
-
@
|
108
|
+
@builder.append ' --drb'
|
135
109
|
self
|
136
110
|
end
|
137
|
-
|
138
111
|
def port port
|
139
|
-
@
|
112
|
+
@builder.append " --port #{@builder.format port}"
|
140
113
|
self
|
141
114
|
end
|
142
|
-
|
143
115
|
def dotcucumber dir
|
144
|
-
@
|
116
|
+
@builder.append " --dotcucumber #{@builder.format dir}"
|
145
117
|
self
|
146
118
|
end
|
147
|
-
|
148
119
|
def version
|
149
|
-
@
|
120
|
+
@builder.append ' --version'
|
150
121
|
self
|
151
122
|
end
|
152
|
-
|
153
123
|
def help
|
154
|
-
@
|
124
|
+
@builder.append ' --help'
|
155
125
|
self
|
156
126
|
end
|
157
|
-
|
158
|
-
|
159
|
-
@b.to_s
|
127
|
+
def to_s
|
128
|
+
@builder.to_s
|
160
129
|
end
|
161
|
-
|
162
130
|
end
|
163
|
-
|
164
|
-
|
165
|
-
Cucumber.new
|
131
|
+
def cucumber
|
132
|
+
Cucumber.new CommandBuilder.new
|
166
133
|
end
|
167
|
-
|
168
134
|
end
|
169
|
-
|
170
135
|
end
|
171
|
-
|
172
|
-
|
173
|
-
Cucumber::V11::Cucumber.new
|
136
|
+
def cucumber_11
|
137
|
+
Cucumber::V11::Cucumber.new CommandBuilder.new
|
174
138
|
end
|
175
|
-
|
176
139
|
end
|
177
|
-
|