fluent_command_builder 0.5.6 → 0.6.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/command_version_detector.rb +1 -0
- data/lib/fluent_command_builder/command_base.rb +20 -11
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +17 -0
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +1059 -1059
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +1055 -1055
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +17 -0
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +46 -46
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +46 -46
- data/lib/fluent_command_builder/command_builders/bundle.rb +17 -0
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +140 -140
- data/lib/fluent_command_builder/command_builders/cucumber.rb +17 -0
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +76 -76
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +78 -78
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +17 -0
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +91 -86
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +91 -86
- data/lib/fluent_command_builder/command_builders/dotcover.rb +17 -0
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +33 -33
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +133 -133
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +133 -133
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +137 -137
- data/lib/fluent_command_builder/command_builders/installutil.rb +17 -0
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +31 -31
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +33 -33
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +33 -33
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +36 -36
- data/lib/fluent_command_builder/command_builders/msbuild.rb +17 -0
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +43 -43
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +43 -43
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +59 -59
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +62 -62
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +17 -0
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +177 -0
- data/lib/fluent_command_builder/command_builders/mstest.rb +17 -0
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +127 -0
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +107 -0
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +112 -0
- data/lib/fluent_command_builder/command_builders/netsh.rb +17 -0
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +408 -0
- data/lib/fluent_command_builder/command_builders/nunit.rb +17 -0
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +69 -64
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +85 -80
- data/lib/fluent_command_builder/command_builders/rake.rb +17 -0
- data/lib/fluent_command_builder/command_builders/rake_09.rb +64 -64
- data/lib/fluent_command_builder/command_builders/security_osx.rb +17 -0
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +82 -82
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +17 -0
- data/lib/fluent_command_builder/command_builders/sevenzip_92.rb +243 -243
- data/lib/fluent_command_builder/command_builders/simian.rb +17 -0
- data/lib/fluent_command_builder/command_builders/simian_23.rb +63 -63
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +17 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2155 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +17 -0
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1978 -0
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +17 -0
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +112 -112
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +132 -132
- data/lib/fluent_command_builder/{command_builder.rb → underlying_builder.rb} +2 -2
- data/lib/fluent_command_builder/util.rb +18 -0
- data/lib/fluent_command_builder/version_detectors/appcfg_python.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/aspnet_compiler.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/bundle.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/cucumber.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/dev_appserver_python.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/dotcover.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/installutil.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/lib/appengine_python_version_detector.rb +16 -0
- data/lib/fluent_command_builder/version_detectors/lib/path_finder.rb +43 -0
- data/lib/fluent_command_builder/version_detectors/lib/standard_version_detector.rb +14 -0
- data/lib/fluent_command_builder/version_detectors/msbuild.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/msdeploy.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/mstest.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/nuget.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/nunit.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/rake.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/security_osx.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/sevenzip.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/team_foundation.rb +9 -0
- data/lib/fluent_command_builder/version_detectors/xcodebuild.rb +9 -0
- data/lib/fluent_command_builder.rb +26 -7
- metadata +53 -12
- data/lib/fluent_command_builder/command_builders/msdeploy_40.rb +0 -177
- data/lib/fluent_command_builder/command_builders/mstest_2005.rb +0 -107
- data/lib/fluent_command_builder/command_builders/mstest_2008.rb +0 -112
- data/lib/fluent_command_builder/command_builders/mstest_2010.rb +0 -127
- data/lib/fluent_command_builder/command_builders/netsh_2008.rb +0 -408
- data/lib/fluent_command_builder/command_builders/tf_2010.rb +0 -2155
- data/lib/fluent_command_builder/command_builders/tf_tee_2010.rb +0 -1978
|
@@ -1,198 +1,203 @@
|
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + '/../
|
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
|
|
3
3
|
|
|
4
4
|
module FluentCommandBuilder
|
|
5
|
+
def dev_appserver_python_16(application_root=nil)
|
|
6
|
+
FluentCommandBuilder::DevAppserverPython::V16.create(application_root) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module DevAppserverPython
|
|
6
9
|
module V16
|
|
7
|
-
|
|
10
|
+
def self.create(application_root=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
|
|
12
|
+
c = DevAppserverPython.new(b, application_root)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def dev_appserver_python(application_root=nil)
|
|
17
|
+
FluentCommandBuilder::DevAppserverPython::V16.create(application_root) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class DevAppserverPython < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, application_root=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format application_root}" unless application_root.nil?
|
|
23
|
+
end
|
|
24
|
+
def application_root(application_root)
|
|
25
|
+
b.append " #{b.format application_root}"
|
|
26
|
+
yield b if block_given?
|
|
27
|
+
self
|
|
12
28
|
end
|
|
13
29
|
def address(address)
|
|
14
|
-
|
|
15
|
-
yield
|
|
30
|
+
b.append " --address=#{b.format address}"
|
|
31
|
+
yield b if block_given?
|
|
16
32
|
self
|
|
17
33
|
end
|
|
18
34
|
def clear_datastore
|
|
19
|
-
|
|
20
|
-
yield
|
|
35
|
+
b.append ' --clear_datastore'
|
|
36
|
+
yield b if block_given?
|
|
21
37
|
self
|
|
22
38
|
end
|
|
23
39
|
def debug
|
|
24
|
-
|
|
25
|
-
yield
|
|
40
|
+
b.append ' --debug'
|
|
41
|
+
yield b if block_given?
|
|
26
42
|
self
|
|
27
43
|
end
|
|
28
44
|
def help
|
|
29
|
-
|
|
30
|
-
yield
|
|
45
|
+
b.append ' --help'
|
|
46
|
+
yield b if block_given?
|
|
31
47
|
self
|
|
32
48
|
end
|
|
33
49
|
def port(port)
|
|
34
|
-
|
|
35
|
-
yield
|
|
50
|
+
b.append " --port=#{b.format port}"
|
|
51
|
+
yield b if block_given?
|
|
36
52
|
self
|
|
37
53
|
end
|
|
38
54
|
def allow_skipped_files
|
|
39
|
-
|
|
40
|
-
yield
|
|
55
|
+
b.append ' --allow_skipped_files'
|
|
56
|
+
yield b if block_given?
|
|
41
57
|
self
|
|
42
58
|
end
|
|
43
59
|
def auth_domain
|
|
44
|
-
|
|
45
|
-
yield
|
|
60
|
+
b.append ' --auth_domain'
|
|
61
|
+
yield b if block_given?
|
|
46
62
|
self
|
|
47
63
|
end
|
|
48
64
|
def backends
|
|
49
|
-
|
|
50
|
-
yield
|
|
65
|
+
b.append ' --backends'
|
|
66
|
+
yield b if block_given?
|
|
51
67
|
self
|
|
52
68
|
end
|
|
53
69
|
def blobstore_path(dir)
|
|
54
|
-
|
|
55
|
-
yield
|
|
70
|
+
b.append " --blobstore_path=#{b.format dir}"
|
|
71
|
+
yield b if block_given?
|
|
56
72
|
self
|
|
57
73
|
end
|
|
58
74
|
def clear_prospective_search
|
|
59
|
-
|
|
60
|
-
yield
|
|
75
|
+
b.append ' --clear_prospective_search'
|
|
76
|
+
yield b if block_given?
|
|
61
77
|
self
|
|
62
78
|
end
|
|
63
79
|
def datastore_path(ds_file)
|
|
64
|
-
|
|
65
|
-
yield
|
|
80
|
+
b.append " --datastore_path=#{b.format ds_file}"
|
|
81
|
+
yield b if block_given?
|
|
66
82
|
self
|
|
67
83
|
end
|
|
68
84
|
def debug_imports
|
|
69
|
-
|
|
70
|
-
yield
|
|
85
|
+
b.append ' --debug_imports'
|
|
86
|
+
yield b if block_given?
|
|
71
87
|
self
|
|
72
88
|
end
|
|
73
89
|
def default_partition
|
|
74
|
-
|
|
75
|
-
yield
|
|
90
|
+
b.append ' --default_partition'
|
|
91
|
+
yield b if block_given?
|
|
76
92
|
self
|
|
77
93
|
end
|
|
78
94
|
def disable_static_caching
|
|
79
|
-
|
|
80
|
-
yield
|
|
95
|
+
b.append ' --disable_static_caching'
|
|
96
|
+
yield b if block_given?
|
|
81
97
|
self
|
|
82
98
|
end
|
|
83
99
|
def disable_task_running
|
|
84
|
-
|
|
85
|
-
yield
|
|
100
|
+
b.append ' --disable_task_running'
|
|
101
|
+
yield b if block_given?
|
|
86
102
|
self
|
|
87
103
|
end
|
|
88
104
|
def enable_sendmail
|
|
89
|
-
|
|
90
|
-
yield
|
|
105
|
+
b.append ' --enable_sendmail'
|
|
106
|
+
yield b if block_given?
|
|
91
107
|
self
|
|
92
108
|
end
|
|
93
109
|
def high_replication
|
|
94
|
-
|
|
95
|
-
yield
|
|
110
|
+
b.append ' --high_replication'
|
|
111
|
+
yield b if block_given?
|
|
96
112
|
self
|
|
97
113
|
end
|
|
98
114
|
def history_path(path)
|
|
99
|
-
|
|
100
|
-
yield
|
|
115
|
+
b.append " --history_path=#{b.format path}"
|
|
116
|
+
yield b if block_given?
|
|
101
117
|
self
|
|
102
118
|
end
|
|
103
119
|
def multiprocess_min_port
|
|
104
|
-
|
|
105
|
-
yield
|
|
120
|
+
b.append ' --multiprocess_min_port'
|
|
121
|
+
yield b if block_given?
|
|
106
122
|
self
|
|
107
123
|
end
|
|
108
124
|
def mysql_host(hostname)
|
|
109
|
-
|
|
110
|
-
yield
|
|
125
|
+
b.append " --mysql_host=#{b.format hostname}"
|
|
126
|
+
yield b if block_given?
|
|
111
127
|
self
|
|
112
128
|
end
|
|
113
129
|
def mysql_port(port)
|
|
114
|
-
|
|
115
|
-
yield
|
|
130
|
+
b.append " --mysql_port=#{b.format port}"
|
|
131
|
+
yield b if block_given?
|
|
116
132
|
self
|
|
117
133
|
end
|
|
118
134
|
def mysql_user(user)
|
|
119
|
-
|
|
120
|
-
yield
|
|
135
|
+
b.append " --mysql_user=#{b.format user}"
|
|
136
|
+
yield b if block_given?
|
|
121
137
|
self
|
|
122
138
|
end
|
|
123
139
|
def mysql_password(password)
|
|
124
|
-
|
|
125
|
-
yield
|
|
140
|
+
b.append " --mysql_password=#{b.format password}"
|
|
141
|
+
yield b if block_given?
|
|
126
142
|
self
|
|
127
143
|
end
|
|
128
144
|
def mysql_socket(path)
|
|
129
|
-
|
|
130
|
-
yield
|
|
145
|
+
b.append " --mysql_socket=#{b.format path}"
|
|
146
|
+
yield b if block_given?
|
|
131
147
|
self
|
|
132
148
|
end
|
|
133
149
|
def persist_logs
|
|
134
|
-
|
|
135
|
-
yield
|
|
150
|
+
b.append ' --persist_logs'
|
|
151
|
+
yield b if block_given?
|
|
136
152
|
self
|
|
137
153
|
end
|
|
138
154
|
def require_indexes
|
|
139
|
-
|
|
140
|
-
yield
|
|
155
|
+
b.append ' --require_indexes'
|
|
156
|
+
yield b if block_given?
|
|
141
157
|
self
|
|
142
158
|
end
|
|
143
159
|
def show_mail_body
|
|
144
|
-
|
|
145
|
-
yield
|
|
160
|
+
b.append ' --show_mail_body'
|
|
161
|
+
yield b if block_given?
|
|
146
162
|
self
|
|
147
163
|
end
|
|
148
164
|
def skip_sdk_update_check
|
|
149
|
-
|
|
150
|
-
yield
|
|
165
|
+
b.append ' --skip_sdk_update_check'
|
|
166
|
+
yield b if block_given?
|
|
151
167
|
self
|
|
152
168
|
end
|
|
153
169
|
def smtp_host(hostname)
|
|
154
|
-
|
|
155
|
-
yield
|
|
170
|
+
b.append " --smtp_host=#{b.format hostname}"
|
|
171
|
+
yield b if block_given?
|
|
156
172
|
self
|
|
157
173
|
end
|
|
158
174
|
def smtp_port(port)
|
|
159
|
-
|
|
160
|
-
yield
|
|
175
|
+
b.append " --smtp_port=#{b.format port}"
|
|
176
|
+
yield b if block_given?
|
|
161
177
|
self
|
|
162
178
|
end
|
|
163
179
|
def smtp_user(user)
|
|
164
|
-
|
|
165
|
-
yield
|
|
180
|
+
b.append " --smtp_user=#{b.format user}"
|
|
181
|
+
yield b if block_given?
|
|
166
182
|
self
|
|
167
183
|
end
|
|
168
184
|
def smtp_password(password)
|
|
169
|
-
|
|
170
|
-
yield
|
|
185
|
+
b.append " --smtp_password=#{b.format password}"
|
|
186
|
+
yield b if block_given?
|
|
171
187
|
self
|
|
172
188
|
end
|
|
173
189
|
def task_retry_seconds
|
|
174
|
-
|
|
175
|
-
yield
|
|
190
|
+
b.append ' --task_retry_seconds'
|
|
191
|
+
yield b if block_given?
|
|
176
192
|
self
|
|
177
193
|
end
|
|
178
194
|
def use_sqlite
|
|
179
|
-
|
|
180
|
-
yield
|
|
195
|
+
b.append ' --use_sqlite'
|
|
196
|
+
yield b if block_given?
|
|
181
197
|
self
|
|
182
198
|
end
|
|
183
199
|
end
|
|
184
|
-
|
|
185
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
186
|
-
command = DevAppserverPython.new builder, application_root
|
|
187
|
-
yield builder if block_given?
|
|
188
|
-
command
|
|
189
|
-
end
|
|
200
|
+
|
|
190
201
|
end
|
|
191
202
|
end
|
|
192
|
-
|
|
193
|
-
builder = CommandBuilder.new DevAppserverPython::V16::COMMAND_NAME
|
|
194
|
-
command = DevAppserverPython::V16::DevAppserverPython.new builder, application_root
|
|
195
|
-
yield builder if block_given?
|
|
196
|
-
command
|
|
197
|
-
end
|
|
198
|
-
end
|
|
203
|
+
end
|
|
@@ -1,198 +1,203 @@
|
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/../command_base')
|
|
2
|
-
require File.expand_path(File.dirname(__FILE__) + '/../
|
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
|
|
3
3
|
|
|
4
4
|
module FluentCommandBuilder
|
|
5
|
+
def dev_appserver_python_17(application_root=nil)
|
|
6
|
+
FluentCommandBuilder::DevAppserverPython::V17.create(application_root) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module DevAppserverPython
|
|
6
9
|
module V17
|
|
7
|
-
|
|
10
|
+
def self.create(application_root=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::DevAppserverPython::COMMAND_NAME
|
|
12
|
+
c = DevAppserverPython.new(b, application_root)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def dev_appserver_python(application_root=nil)
|
|
17
|
+
FluentCommandBuilder::DevAppserverPython::V17.create(application_root) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class DevAppserverPython < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, application_root=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format application_root}" unless application_root.nil?
|
|
23
|
+
end
|
|
24
|
+
def application_root(application_root)
|
|
25
|
+
b.append " #{b.format application_root}"
|
|
26
|
+
yield b if block_given?
|
|
27
|
+
self
|
|
12
28
|
end
|
|
13
29
|
def address(address)
|
|
14
|
-
|
|
15
|
-
yield
|
|
30
|
+
b.append " --address=#{b.format address}"
|
|
31
|
+
yield b if block_given?
|
|
16
32
|
self
|
|
17
33
|
end
|
|
18
34
|
def clear_datastore
|
|
19
|
-
|
|
20
|
-
yield
|
|
35
|
+
b.append ' --clear_datastore'
|
|
36
|
+
yield b if block_given?
|
|
21
37
|
self
|
|
22
38
|
end
|
|
23
39
|
def debug
|
|
24
|
-
|
|
25
|
-
yield
|
|
40
|
+
b.append ' --debug'
|
|
41
|
+
yield b if block_given?
|
|
26
42
|
self
|
|
27
43
|
end
|
|
28
44
|
def help
|
|
29
|
-
|
|
30
|
-
yield
|
|
45
|
+
b.append ' --help'
|
|
46
|
+
yield b if block_given?
|
|
31
47
|
self
|
|
32
48
|
end
|
|
33
49
|
def port(port)
|
|
34
|
-
|
|
35
|
-
yield
|
|
50
|
+
b.append " --port=#{b.format port}"
|
|
51
|
+
yield b if block_given?
|
|
36
52
|
self
|
|
37
53
|
end
|
|
38
54
|
def allow_skipped_files
|
|
39
|
-
|
|
40
|
-
yield
|
|
55
|
+
b.append ' --allow_skipped_files'
|
|
56
|
+
yield b if block_given?
|
|
41
57
|
self
|
|
42
58
|
end
|
|
43
59
|
def auth_domain
|
|
44
|
-
|
|
45
|
-
yield
|
|
60
|
+
b.append ' --auth_domain'
|
|
61
|
+
yield b if block_given?
|
|
46
62
|
self
|
|
47
63
|
end
|
|
48
64
|
def backends
|
|
49
|
-
|
|
50
|
-
yield
|
|
65
|
+
b.append ' --backends'
|
|
66
|
+
yield b if block_given?
|
|
51
67
|
self
|
|
52
68
|
end
|
|
53
69
|
def blobstore_path(dir)
|
|
54
|
-
|
|
55
|
-
yield
|
|
70
|
+
b.append " --blobstore_path=#{b.format dir}"
|
|
71
|
+
yield b if block_given?
|
|
56
72
|
self
|
|
57
73
|
end
|
|
58
74
|
def clear_prospective_search
|
|
59
|
-
|
|
60
|
-
yield
|
|
75
|
+
b.append ' --clear_prospective_search'
|
|
76
|
+
yield b if block_given?
|
|
61
77
|
self
|
|
62
78
|
end
|
|
63
79
|
def datastore_path(ds_file)
|
|
64
|
-
|
|
65
|
-
yield
|
|
80
|
+
b.append " --datastore_path=#{b.format ds_file}"
|
|
81
|
+
yield b if block_given?
|
|
66
82
|
self
|
|
67
83
|
end
|
|
68
84
|
def debug_imports
|
|
69
|
-
|
|
70
|
-
yield
|
|
85
|
+
b.append ' --debug_imports'
|
|
86
|
+
yield b if block_given?
|
|
71
87
|
self
|
|
72
88
|
end
|
|
73
89
|
def default_partition
|
|
74
|
-
|
|
75
|
-
yield
|
|
90
|
+
b.append ' --default_partition'
|
|
91
|
+
yield b if block_given?
|
|
76
92
|
self
|
|
77
93
|
end
|
|
78
94
|
def disable_static_caching
|
|
79
|
-
|
|
80
|
-
yield
|
|
95
|
+
b.append ' --disable_static_caching'
|
|
96
|
+
yield b if block_given?
|
|
81
97
|
self
|
|
82
98
|
end
|
|
83
99
|
def disable_task_running
|
|
84
|
-
|
|
85
|
-
yield
|
|
100
|
+
b.append ' --disable_task_running'
|
|
101
|
+
yield b if block_given?
|
|
86
102
|
self
|
|
87
103
|
end
|
|
88
104
|
def enable_sendmail
|
|
89
|
-
|
|
90
|
-
yield
|
|
105
|
+
b.append ' --enable_sendmail'
|
|
106
|
+
yield b if block_given?
|
|
91
107
|
self
|
|
92
108
|
end
|
|
93
109
|
def high_replication
|
|
94
|
-
|
|
95
|
-
yield
|
|
110
|
+
b.append ' --high_replication'
|
|
111
|
+
yield b if block_given?
|
|
96
112
|
self
|
|
97
113
|
end
|
|
98
114
|
def history_path(path)
|
|
99
|
-
|
|
100
|
-
yield
|
|
115
|
+
b.append " --history_path=#{b.format path}"
|
|
116
|
+
yield b if block_given?
|
|
101
117
|
self
|
|
102
118
|
end
|
|
103
119
|
def multiprocess_min_port
|
|
104
|
-
|
|
105
|
-
yield
|
|
120
|
+
b.append ' --multiprocess_min_port'
|
|
121
|
+
yield b if block_given?
|
|
106
122
|
self
|
|
107
123
|
end
|
|
108
124
|
def mysql_host(hostname)
|
|
109
|
-
|
|
110
|
-
yield
|
|
125
|
+
b.append " --mysql_host=#{b.format hostname}"
|
|
126
|
+
yield b if block_given?
|
|
111
127
|
self
|
|
112
128
|
end
|
|
113
129
|
def mysql_port(port)
|
|
114
|
-
|
|
115
|
-
yield
|
|
130
|
+
b.append " --mysql_port=#{b.format port}"
|
|
131
|
+
yield b if block_given?
|
|
116
132
|
self
|
|
117
133
|
end
|
|
118
134
|
def mysql_user(user)
|
|
119
|
-
|
|
120
|
-
yield
|
|
135
|
+
b.append " --mysql_user=#{b.format user}"
|
|
136
|
+
yield b if block_given?
|
|
121
137
|
self
|
|
122
138
|
end
|
|
123
139
|
def mysql_password(password)
|
|
124
|
-
|
|
125
|
-
yield
|
|
140
|
+
b.append " --mysql_password=#{b.format password}"
|
|
141
|
+
yield b if block_given?
|
|
126
142
|
self
|
|
127
143
|
end
|
|
128
144
|
def mysql_socket(path)
|
|
129
|
-
|
|
130
|
-
yield
|
|
145
|
+
b.append " --mysql_socket=#{b.format path}"
|
|
146
|
+
yield b if block_given?
|
|
131
147
|
self
|
|
132
148
|
end
|
|
133
149
|
def persist_logs
|
|
134
|
-
|
|
135
|
-
yield
|
|
150
|
+
b.append ' --persist_logs'
|
|
151
|
+
yield b if block_given?
|
|
136
152
|
self
|
|
137
153
|
end
|
|
138
154
|
def require_indexes
|
|
139
|
-
|
|
140
|
-
yield
|
|
155
|
+
b.append ' --require_indexes'
|
|
156
|
+
yield b if block_given?
|
|
141
157
|
self
|
|
142
158
|
end
|
|
143
159
|
def show_mail_body
|
|
144
|
-
|
|
145
|
-
yield
|
|
160
|
+
b.append ' --show_mail_body'
|
|
161
|
+
yield b if block_given?
|
|
146
162
|
self
|
|
147
163
|
end
|
|
148
164
|
def skip_sdk_update_check
|
|
149
|
-
|
|
150
|
-
yield
|
|
165
|
+
b.append ' --skip_sdk_update_check'
|
|
166
|
+
yield b if block_given?
|
|
151
167
|
self
|
|
152
168
|
end
|
|
153
169
|
def smtp_host(hostname)
|
|
154
|
-
|
|
155
|
-
yield
|
|
170
|
+
b.append " --smtp_host=#{b.format hostname}"
|
|
171
|
+
yield b if block_given?
|
|
156
172
|
self
|
|
157
173
|
end
|
|
158
174
|
def smtp_port(port)
|
|
159
|
-
|
|
160
|
-
yield
|
|
175
|
+
b.append " --smtp_port=#{b.format port}"
|
|
176
|
+
yield b if block_given?
|
|
161
177
|
self
|
|
162
178
|
end
|
|
163
179
|
def smtp_user(user)
|
|
164
|
-
|
|
165
|
-
yield
|
|
180
|
+
b.append " --smtp_user=#{b.format user}"
|
|
181
|
+
yield b if block_given?
|
|
166
182
|
self
|
|
167
183
|
end
|
|
168
184
|
def smtp_password(password)
|
|
169
|
-
|
|
170
|
-
yield
|
|
185
|
+
b.append " --smtp_password=#{b.format password}"
|
|
186
|
+
yield b if block_given?
|
|
171
187
|
self
|
|
172
188
|
end
|
|
173
189
|
def task_retry_seconds
|
|
174
|
-
|
|
175
|
-
yield
|
|
190
|
+
b.append ' --task_retry_seconds'
|
|
191
|
+
yield b if block_given?
|
|
176
192
|
self
|
|
177
193
|
end
|
|
178
194
|
def use_sqlite
|
|
179
|
-
|
|
180
|
-
yield
|
|
195
|
+
b.append ' --use_sqlite'
|
|
196
|
+
yield b if block_given?
|
|
181
197
|
self
|
|
182
198
|
end
|
|
183
199
|
end
|
|
184
|
-
|
|
185
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
186
|
-
command = DevAppserverPython.new builder, application_root
|
|
187
|
-
yield builder if block_given?
|
|
188
|
-
command
|
|
189
|
-
end
|
|
200
|
+
|
|
190
201
|
end
|
|
191
202
|
end
|
|
192
|
-
|
|
193
|
-
builder = CommandBuilder.new DevAppserverPython::V17::COMMAND_NAME
|
|
194
|
-
command = DevAppserverPython::V17::DevAppserverPython.new builder, application_root
|
|
195
|
-
yield builder if block_given?
|
|
196
|
-
command
|
|
197
|
-
end
|
|
198
|
-
end
|
|
203
|
+
end
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + '/../underlying_builder')
|
|
2
|
+
require File.expand_path(File.dirname(__FILE__) + '/../util')
|
|
3
|
+
|
|
4
|
+
module FluentCommandBuilder
|
|
5
|
+
def dotcover(&block)
|
|
6
|
+
DotCover.create &block
|
|
7
|
+
end
|
|
8
|
+
module DotCover
|
|
9
|
+
COMMAND_NAME = 'dotCover'
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::DotCover::COMMAND_NAME
|
|
12
|
+
c = version_module(DotCover).create b
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|