fluent_command_builder 0.6.0 → 0.7.0
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_base.rb +21 -10
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +1 -1
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +995 -994
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +991 -990
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +1 -1
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +30 -29
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +30 -29
- data/lib/fluent_command_builder/command_builders/bundle.rb +1 -1
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +102 -101
- data/lib/fluent_command_builder/command_builders/cucumber.rb +1 -1
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +60 -59
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +62 -61
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +1 -1
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +72 -71
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +72 -71
- data/lib/fluent_command_builder/command_builders/dotcover.rb +1 -1
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +17 -16
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +101 -100
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +101 -100
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +105 -104
- data/lib/fluent_command_builder/command_builders/installutil.rb +1 -1
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +15 -14
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +17 -16
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +17 -16
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +20 -19
- data/lib/fluent_command_builder/command_builders/msbuild.rb +1 -1
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +27 -26
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +27 -26
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +43 -42
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +46 -45
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +1 -1
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +61 -60
- data/lib/fluent_command_builder/command_builders/mstest.rb +1 -1
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +41 -40
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +33 -32
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +35 -34
- data/lib/fluent_command_builder/command_builders/netsh.rb +1 -1
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +139 -138
- data/lib/fluent_command_builder/command_builders/nuget.rb +17 -0
- data/lib/fluent_command_builder/command_builders/nuget_20.rb +433 -0
- data/lib/fluent_command_builder/command_builders/nunit.rb +1 -1
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +50 -49
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +66 -65
- data/lib/fluent_command_builder/command_builders/rake.rb +1 -1
- data/lib/fluent_command_builder/command_builders/rake_09.rb +48 -47
- data/lib/fluent_command_builder/command_builders/security_osx.rb +1 -1
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +55 -54
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +1 -1
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +211 -210
- data/lib/fluent_command_builder/command_builders/simian.rb +1 -1
- data/lib/fluent_command_builder/command_builders/simian_23.rb +47 -46
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +1 -1
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +822 -821
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +1 -1
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +744 -743
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +1 -1
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +103 -87
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +123 -107
- data/lib/fluent_command_builder/executor.rb +44 -0
- data/lib/fluent_command_builder/executors/backticks_executor.rb +7 -0
- data/lib/fluent_command_builder/executors/dry_run_executor.rb +7 -0
- data/lib/fluent_command_builder/executors/rake_sh_executor.rb +10 -0
- data/lib/fluent_command_builder/executors/system_executor.rb +7 -0
- data/lib/fluent_command_builder/path_finder.rb +20 -0
- data/lib/fluent_command_builder/path_finders/unix_path_finder.rb +13 -0
- data/lib/fluent_command_builder/path_finders/windows_path_finder.rb +14 -0
- data/lib/fluent_command_builder/underlying_builder.rb +75 -59
- data/lib/fluent_command_builder/version.rb +40 -0
- data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +1 -2
- data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +13 -13
- data/lib/fluent_command_builder/version_validator.rb +37 -0
- metadata +16 -7
- data/lib/command_version_detector.rb +0 -1
- data/lib/fluent_command_builder/util.rb +0 -18
- data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +0 -43
|
@@ -7,6 +7,7 @@ module FluentCommandBuilder
|
|
|
7
7
|
end
|
|
8
8
|
module Cucumber
|
|
9
9
|
module V11
|
|
10
|
+
VERSION = '1.1'
|
|
10
11
|
def self.create(feature=nil)
|
|
11
12
|
b = UnderlyingBuilder.new FluentCommandBuilder::Cucumber::COMMAND_NAME
|
|
12
13
|
c = Cucumber.new(b, feature)
|
|
@@ -19,151 +20,151 @@ module FluentCommandBuilder
|
|
|
19
20
|
class Cucumber < CommandBase
|
|
20
21
|
def initialize(underlying_builder, feature=nil)
|
|
21
22
|
super underlying_builder
|
|
22
|
-
b.append " #{b.format feature}" unless feature.nil?
|
|
23
|
+
@b.append " #{@b.format feature}" unless feature.nil?
|
|
23
24
|
end
|
|
24
25
|
def require(library)
|
|
25
|
-
b.append " --require #{b.format library}"
|
|
26
|
-
yield b if block_given?
|
|
26
|
+
@b.append " --require #{@b.format library}"
|
|
27
|
+
yield @b if block_given?
|
|
27
28
|
self
|
|
28
29
|
end
|
|
29
30
|
def i18n(lang)
|
|
30
|
-
b.append " --i18n #{b.format lang}"
|
|
31
|
-
yield b if block_given?
|
|
31
|
+
@b.append " --i18n #{@b.format lang}"
|
|
32
|
+
yield @b if block_given?
|
|
32
33
|
self
|
|
33
34
|
end
|
|
34
35
|
def format(format)
|
|
35
|
-
b.append " --format #{b.format format}"
|
|
36
|
-
yield b if block_given?
|
|
36
|
+
@b.append " --format #{@b.format format}"
|
|
37
|
+
yield @b if block_given?
|
|
37
38
|
self
|
|
38
39
|
end
|
|
39
40
|
def out(file)
|
|
40
|
-
b.append " --out #{b.format file}"
|
|
41
|
-
yield b if block_given?
|
|
41
|
+
@b.append " --out #{@b.format file}"
|
|
42
|
+
yield @b if block_given?
|
|
42
43
|
self
|
|
43
44
|
end
|
|
44
45
|
def tags(tag_expression)
|
|
45
|
-
b.append " --tags #{b.format tag_expression, ','}"
|
|
46
|
-
yield b if block_given?
|
|
46
|
+
@b.append " --tags #{@b.format tag_expression, ','}"
|
|
47
|
+
yield @b if block_given?
|
|
47
48
|
self
|
|
48
49
|
end
|
|
49
50
|
def name(name)
|
|
50
|
-
b.append " --name #{b.format name}"
|
|
51
|
-
yield b if block_given?
|
|
51
|
+
@b.append " --name #{@b.format name}"
|
|
52
|
+
yield @b if block_given?
|
|
52
53
|
self
|
|
53
54
|
end
|
|
54
55
|
def exclude(pattern)
|
|
55
|
-
b.append " --exclude #{b.format pattern}"
|
|
56
|
-
yield b if block_given?
|
|
56
|
+
@b.append " --exclude #{@b.format pattern}"
|
|
57
|
+
yield @b if block_given?
|
|
57
58
|
self
|
|
58
59
|
end
|
|
59
60
|
def profile(profile)
|
|
60
|
-
b.append " --profile #{b.format profile}"
|
|
61
|
-
yield b if block_given?
|
|
61
|
+
@b.append " --profile #{@b.format profile}"
|
|
62
|
+
yield @b if block_given?
|
|
62
63
|
self
|
|
63
64
|
end
|
|
64
65
|
def no_profile
|
|
65
|
-
b.append ' --no-profile'
|
|
66
|
-
yield b if block_given?
|
|
66
|
+
@b.append ' --no-profile'
|
|
67
|
+
yield @b if block_given?
|
|
67
68
|
self
|
|
68
69
|
end
|
|
69
70
|
def color
|
|
70
|
-
b.append ' --color'
|
|
71
|
-
yield b if block_given?
|
|
71
|
+
@b.append ' --color'
|
|
72
|
+
yield @b if block_given?
|
|
72
73
|
self
|
|
73
74
|
end
|
|
74
75
|
def no_color
|
|
75
|
-
b.append ' --no-color'
|
|
76
|
-
yield b if block_given?
|
|
76
|
+
@b.append ' --no-color'
|
|
77
|
+
yield @b if block_given?
|
|
77
78
|
self
|
|
78
79
|
end
|
|
79
80
|
def dry_run
|
|
80
|
-
b.append ' --dry-run'
|
|
81
|
-
yield b if block_given?
|
|
81
|
+
@b.append ' --dry-run'
|
|
82
|
+
yield @b if block_given?
|
|
82
83
|
self
|
|
83
84
|
end
|
|
84
85
|
def autoformat(dir)
|
|
85
|
-
b.append " --autoformat #{b.format dir}"
|
|
86
|
-
yield b if block_given?
|
|
86
|
+
@b.append " --autoformat #{@b.format dir}"
|
|
87
|
+
yield @b if block_given?
|
|
87
88
|
self
|
|
88
89
|
end
|
|
89
90
|
def no_multiline
|
|
90
|
-
b.append ' --no-multiline'
|
|
91
|
-
yield b if block_given?
|
|
91
|
+
@b.append ' --no-multiline'
|
|
92
|
+
yield @b if block_given?
|
|
92
93
|
self
|
|
93
94
|
end
|
|
94
95
|
def no_source
|
|
95
|
-
b.append ' --no-source'
|
|
96
|
-
yield b if block_given?
|
|
96
|
+
@b.append ' --no-source'
|
|
97
|
+
yield @b if block_given?
|
|
97
98
|
self
|
|
98
99
|
end
|
|
99
100
|
def no_snippets
|
|
100
|
-
b.append ' --no-snippets'
|
|
101
|
-
yield b if block_given?
|
|
101
|
+
@b.append ' --no-snippets'
|
|
102
|
+
yield @b if block_given?
|
|
102
103
|
self
|
|
103
104
|
end
|
|
104
105
|
def quiet
|
|
105
|
-
b.append ' --quiet'
|
|
106
|
-
yield b if block_given?
|
|
106
|
+
@b.append ' --quiet'
|
|
107
|
+
yield @b if block_given?
|
|
107
108
|
self
|
|
108
109
|
end
|
|
109
110
|
def backtrace
|
|
110
|
-
b.append ' --backtrace'
|
|
111
|
-
yield b if block_given?
|
|
111
|
+
@b.append ' --backtrace'
|
|
112
|
+
yield @b if block_given?
|
|
112
113
|
self
|
|
113
114
|
end
|
|
114
115
|
def strict
|
|
115
|
-
b.append ' --strict'
|
|
116
|
-
yield b if block_given?
|
|
116
|
+
@b.append ' --strict'
|
|
117
|
+
yield @b if block_given?
|
|
117
118
|
self
|
|
118
119
|
end
|
|
119
120
|
def wip
|
|
120
|
-
b.append ' --wip'
|
|
121
|
-
yield b if block_given?
|
|
121
|
+
@b.append ' --wip'
|
|
122
|
+
yield @b if block_given?
|
|
122
123
|
self
|
|
123
124
|
end
|
|
124
125
|
def verbose
|
|
125
|
-
b.append ' --verbose'
|
|
126
|
-
yield b if block_given?
|
|
126
|
+
@b.append ' --verbose'
|
|
127
|
+
yield @b if block_given?
|
|
127
128
|
self
|
|
128
129
|
end
|
|
129
130
|
def guess
|
|
130
|
-
b.append ' --guess'
|
|
131
|
-
yield b if block_given?
|
|
131
|
+
@b.append ' --guess'
|
|
132
|
+
yield @b if block_given?
|
|
132
133
|
self
|
|
133
134
|
end
|
|
134
135
|
def lines(lines)
|
|
135
|
-
b.append " --lines #{b.format lines}"
|
|
136
|
-
yield b if block_given?
|
|
136
|
+
@b.append " --lines #{@b.format lines}"
|
|
137
|
+
yield @b if block_given?
|
|
137
138
|
self
|
|
138
139
|
end
|
|
139
140
|
def expand
|
|
140
|
-
b.append ' --expand'
|
|
141
|
-
yield b if block_given?
|
|
141
|
+
@b.append ' --expand'
|
|
142
|
+
yield @b if block_given?
|
|
142
143
|
self
|
|
143
144
|
end
|
|
144
145
|
def drb
|
|
145
|
-
b.append ' --drb'
|
|
146
|
-
yield b if block_given?
|
|
146
|
+
@b.append ' --drb'
|
|
147
|
+
yield @b if block_given?
|
|
147
148
|
self
|
|
148
149
|
end
|
|
149
150
|
def port(port)
|
|
150
|
-
b.append " --port #{b.format port}"
|
|
151
|
-
yield b if block_given?
|
|
151
|
+
@b.append " --port #{@b.format port}"
|
|
152
|
+
yield @b if block_given?
|
|
152
153
|
self
|
|
153
154
|
end
|
|
154
155
|
def dotcucumber(dir)
|
|
155
|
-
b.append " --dotcucumber #{b.format dir}"
|
|
156
|
-
yield b if block_given?
|
|
156
|
+
@b.append " --dotcucumber #{@b.format dir}"
|
|
157
|
+
yield @b if block_given?
|
|
157
158
|
self
|
|
158
159
|
end
|
|
159
160
|
def version
|
|
160
|
-
b.append ' --version'
|
|
161
|
-
yield b if block_given?
|
|
161
|
+
@b.append ' --version'
|
|
162
|
+
yield @b if block_given?
|
|
162
163
|
self
|
|
163
164
|
end
|
|
164
165
|
def help
|
|
165
|
-
b.append ' --help'
|
|
166
|
-
yield b if block_given?
|
|
166
|
+
@b.append ' --help'
|
|
167
|
+
yield @b if block_given?
|
|
167
168
|
self
|
|
168
169
|
end
|
|
169
170
|
end
|
|
@@ -7,6 +7,7 @@ module FluentCommandBuilder
|
|
|
7
7
|
end
|
|
8
8
|
module Cucumber
|
|
9
9
|
module V12
|
|
10
|
+
VERSION = '1.2'
|
|
10
11
|
def self.create(feature=nil)
|
|
11
12
|
b = UnderlyingBuilder.new FluentCommandBuilder::Cucumber::COMMAND_NAME
|
|
12
13
|
c = Cucumber.new(b, feature)
|
|
@@ -19,156 +20,156 @@ module FluentCommandBuilder
|
|
|
19
20
|
class Cucumber < CommandBase
|
|
20
21
|
def initialize(underlying_builder, feature=nil)
|
|
21
22
|
super underlying_builder
|
|
22
|
-
b.append " #{b.format feature}" unless feature.nil?
|
|
23
|
+
@b.append " #{@b.format feature}" unless feature.nil?
|
|
23
24
|
end
|
|
24
25
|
def require(library)
|
|
25
|
-
b.append " --require #{b.format library}"
|
|
26
|
-
yield b if block_given?
|
|
26
|
+
@b.append " --require #{@b.format library}"
|
|
27
|
+
yield @b if block_given?
|
|
27
28
|
self
|
|
28
29
|
end
|
|
29
30
|
def i18n(lang)
|
|
30
|
-
b.append " --i18n #{b.format lang}"
|
|
31
|
-
yield b if block_given?
|
|
31
|
+
@b.append " --i18n #{@b.format lang}"
|
|
32
|
+
yield @b if block_given?
|
|
32
33
|
self
|
|
33
34
|
end
|
|
34
35
|
def format(format)
|
|
35
|
-
b.append " --format #{b.format format}"
|
|
36
|
-
yield b if block_given?
|
|
36
|
+
@b.append " --format #{@b.format format}"
|
|
37
|
+
yield @b if block_given?
|
|
37
38
|
self
|
|
38
39
|
end
|
|
39
40
|
def out(file)
|
|
40
|
-
b.append " --out #{b.format file}"
|
|
41
|
-
yield b if block_given?
|
|
41
|
+
@b.append " --out #{@b.format file}"
|
|
42
|
+
yield @b if block_given?
|
|
42
43
|
self
|
|
43
44
|
end
|
|
44
45
|
def tags(tag_expression)
|
|
45
|
-
b.append " --tags #{b.format tag_expression, ','}"
|
|
46
|
-
yield b if block_given?
|
|
46
|
+
@b.append " --tags #{@b.format tag_expression, ','}"
|
|
47
|
+
yield @b if block_given?
|
|
47
48
|
self
|
|
48
49
|
end
|
|
49
50
|
def name(name)
|
|
50
|
-
b.append " --name #{b.format name}"
|
|
51
|
-
yield b if block_given?
|
|
51
|
+
@b.append " --name #{@b.format name}"
|
|
52
|
+
yield @b if block_given?
|
|
52
53
|
self
|
|
53
54
|
end
|
|
54
55
|
def exclude(pattern)
|
|
55
|
-
b.append " --exclude #{b.format pattern}"
|
|
56
|
-
yield b if block_given?
|
|
56
|
+
@b.append " --exclude #{@b.format pattern}"
|
|
57
|
+
yield @b if block_given?
|
|
57
58
|
self
|
|
58
59
|
end
|
|
59
60
|
def profile(profile)
|
|
60
|
-
b.append " --profile #{b.format profile}"
|
|
61
|
-
yield b if block_given?
|
|
61
|
+
@b.append " --profile #{@b.format profile}"
|
|
62
|
+
yield @b if block_given?
|
|
62
63
|
self
|
|
63
64
|
end
|
|
64
65
|
def no_profile
|
|
65
|
-
b.append ' --no-profile'
|
|
66
|
-
yield b if block_given?
|
|
66
|
+
@b.append ' --no-profile'
|
|
67
|
+
yield @b if block_given?
|
|
67
68
|
self
|
|
68
69
|
end
|
|
69
70
|
def color
|
|
70
|
-
b.append ' --color'
|
|
71
|
-
yield b if block_given?
|
|
71
|
+
@b.append ' --color'
|
|
72
|
+
yield @b if block_given?
|
|
72
73
|
self
|
|
73
74
|
end
|
|
74
75
|
def no_color
|
|
75
|
-
b.append ' --no-color'
|
|
76
|
-
yield b if block_given?
|
|
76
|
+
@b.append ' --no-color'
|
|
77
|
+
yield @b if block_given?
|
|
77
78
|
self
|
|
78
79
|
end
|
|
79
80
|
def dry_run
|
|
80
|
-
b.append ' --dry-run'
|
|
81
|
-
yield b if block_given?
|
|
81
|
+
@b.append ' --dry-run'
|
|
82
|
+
yield @b if block_given?
|
|
82
83
|
self
|
|
83
84
|
end
|
|
84
85
|
def autoformat(dir)
|
|
85
|
-
b.append " --autoformat #{b.format dir}"
|
|
86
|
-
yield b if block_given?
|
|
86
|
+
@b.append " --autoformat #{@b.format dir}"
|
|
87
|
+
yield @b if block_given?
|
|
87
88
|
self
|
|
88
89
|
end
|
|
89
90
|
def no_multiline
|
|
90
|
-
b.append ' --no-multiline'
|
|
91
|
-
yield b if block_given?
|
|
91
|
+
@b.append ' --no-multiline'
|
|
92
|
+
yield @b if block_given?
|
|
92
93
|
self
|
|
93
94
|
end
|
|
94
95
|
def no_source
|
|
95
|
-
b.append ' --no-source'
|
|
96
|
-
yield b if block_given?
|
|
96
|
+
@b.append ' --no-source'
|
|
97
|
+
yield @b if block_given?
|
|
97
98
|
self
|
|
98
99
|
end
|
|
99
100
|
def no_snippets
|
|
100
|
-
b.append ' --no-snippets'
|
|
101
|
-
yield b if block_given?
|
|
101
|
+
@b.append ' --no-snippets'
|
|
102
|
+
yield @b if block_given?
|
|
102
103
|
self
|
|
103
104
|
end
|
|
104
105
|
def quiet
|
|
105
|
-
b.append ' --quiet'
|
|
106
|
-
yield b if block_given?
|
|
106
|
+
@b.append ' --quiet'
|
|
107
|
+
yield @b if block_given?
|
|
107
108
|
self
|
|
108
109
|
end
|
|
109
110
|
def backtrace
|
|
110
|
-
b.append ' --backtrace'
|
|
111
|
-
yield b if block_given?
|
|
111
|
+
@b.append ' --backtrace'
|
|
112
|
+
yield @b if block_given?
|
|
112
113
|
self
|
|
113
114
|
end
|
|
114
115
|
def strict
|
|
115
|
-
b.append ' --strict'
|
|
116
|
-
yield b if block_given?
|
|
116
|
+
@b.append ' --strict'
|
|
117
|
+
yield @b if block_given?
|
|
117
118
|
self
|
|
118
119
|
end
|
|
119
120
|
def wip
|
|
120
|
-
b.append ' --wip'
|
|
121
|
-
yield b if block_given?
|
|
121
|
+
@b.append ' --wip'
|
|
122
|
+
yield @b if block_given?
|
|
122
123
|
self
|
|
123
124
|
end
|
|
124
125
|
def verbose
|
|
125
|
-
b.append ' --verbose'
|
|
126
|
-
yield b if block_given?
|
|
126
|
+
@b.append ' --verbose'
|
|
127
|
+
yield @b if block_given?
|
|
127
128
|
self
|
|
128
129
|
end
|
|
129
130
|
def guess
|
|
130
|
-
b.append ' --guess'
|
|
131
|
-
yield b if block_given?
|
|
131
|
+
@b.append ' --guess'
|
|
132
|
+
yield @b if block_given?
|
|
132
133
|
self
|
|
133
134
|
end
|
|
134
135
|
def lines(lines)
|
|
135
|
-
b.append " --lines #{b.format lines}"
|
|
136
|
-
yield b if block_given?
|
|
136
|
+
@b.append " --lines #{@b.format lines}"
|
|
137
|
+
yield @b if block_given?
|
|
137
138
|
self
|
|
138
139
|
end
|
|
139
140
|
def expand
|
|
140
|
-
b.append ' --expand'
|
|
141
|
-
yield b if block_given?
|
|
141
|
+
@b.append ' --expand'
|
|
142
|
+
yield @b if block_given?
|
|
142
143
|
self
|
|
143
144
|
end
|
|
144
145
|
def drb
|
|
145
|
-
b.append ' --drb'
|
|
146
|
-
yield b if block_given?
|
|
146
|
+
@b.append ' --drb'
|
|
147
|
+
yield @b if block_given?
|
|
147
148
|
self
|
|
148
149
|
end
|
|
149
150
|
def no_drb
|
|
150
|
-
b.append ' --no-drb'
|
|
151
|
-
yield b if block_given?
|
|
151
|
+
@b.append ' --no-drb'
|
|
152
|
+
yield @b if block_given?
|
|
152
153
|
self
|
|
153
154
|
end
|
|
154
155
|
def port(port)
|
|
155
|
-
b.append " --port #{b.format port}"
|
|
156
|
-
yield b if block_given?
|
|
156
|
+
@b.append " --port #{@b.format port}"
|
|
157
|
+
yield @b if block_given?
|
|
157
158
|
self
|
|
158
159
|
end
|
|
159
160
|
def dotcucumber(dir)
|
|
160
|
-
b.append " --dotcucumber #{b.format dir}"
|
|
161
|
-
yield b if block_given?
|
|
161
|
+
@b.append " --dotcucumber #{@b.format dir}"
|
|
162
|
+
yield @b if block_given?
|
|
162
163
|
self
|
|
163
164
|
end
|
|
164
165
|
def version
|
|
165
|
-
b.append ' --version'
|
|
166
|
-
yield b if block_given?
|
|
166
|
+
@b.append ' --version'
|
|
167
|
+
yield @b if block_given?
|
|
167
168
|
self
|
|
168
169
|
end
|
|
169
170
|
def help
|
|
170
|
-
b.append ' --help'
|
|
171
|
-
yield b if block_given?
|
|
171
|
+
@b.append ' --help'
|
|
172
|
+
yield @b if block_given?
|
|
172
173
|
self
|
|
173
174
|
end
|
|
174
175
|
end
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
|
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + '/../
|
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../version')
|
|
3
3
|
|
|
4
4
|
module FluentCommandBuilder
|
|
5
5
|
def dev_appserver_python(&block)
|