fluent_command_builder 0.9.9 → 0.9.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. data/lib/fluent_command_builder/command_builders/appcfg_python.rb +14 -0
  2. data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +2612 -0
  3. data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +2602 -0
  4. data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +14 -0
  5. data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +102 -0
  6. data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +102 -0
  7. data/lib/fluent_command_builder/command_builders/bundle.rb +14 -0
  8. data/lib/fluent_command_builder/command_builders/bundle_11.rb +320 -0
  9. data/lib/fluent_command_builder/command_builders/bundle_12.rb +344 -0
  10. data/lib/fluent_command_builder/command_builders/cucumber.rb +14 -0
  11. data/lib/fluent_command_builder/command_builders/cucumber_11.rb +177 -0
  12. data/lib/fluent_command_builder/command_builders/cucumber_12.rb +182 -0
  13. data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +14 -0
  14. data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +207 -0
  15. data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +207 -0
  16. data/lib/fluent_command_builder/command_builders/dotcover.rb +14 -0
  17. data/lib/fluent_command_builder/command_builders/dotcover_10.rb +68 -0
  18. data/lib/fluent_command_builder/command_builders/dotcover_11.rb +298 -0
  19. data/lib/fluent_command_builder/command_builders/dotcover_12.rb +298 -0
  20. data/lib/fluent_command_builder/command_builders/dotcover_20.rb +308 -0
  21. data/lib/fluent_command_builder/command_builders/dotcover_21.rb +308 -0
  22. data/lib/fluent_command_builder/command_builders/dotcover_22.rb +308 -0
  23. data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +14 -0
  24. data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +262 -0
  25. data/lib/fluent_command_builder/command_builders/installutil.rb +14 -0
  26. data/lib/fluent_command_builder/command_builders/installutil_11.rb +63 -0
  27. data/lib/fluent_command_builder/command_builders/installutil_20.rb +68 -0
  28. data/lib/fluent_command_builder/command_builders/installutil_35.rb +68 -0
  29. data/lib/fluent_command_builder/command_builders/installutil_40.rb +74 -0
  30. data/lib/fluent_command_builder/command_builders/msbuild.rb +14 -0
  31. data/lib/fluent_command_builder/command_builders/msbuild_20.rb +93 -0
  32. data/lib/fluent_command_builder/command_builders/msbuild_30.rb +93 -0
  33. data/lib/fluent_command_builder/command_builders/msbuild_35.rb +133 -0
  34. data/lib/fluent_command_builder/command_builders/msbuild_40.rb +136 -0
  35. data/lib/fluent_command_builder/command_builders/msdeploy.rb +14 -0
  36. data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +181 -0
  37. data/lib/fluent_command_builder/command_builders/mstest.rb +14 -0
  38. data/lib/fluent_command_builder/command_builders/mstest_100.rb +131 -0
  39. data/lib/fluent_command_builder/command_builders/mstest_80.rb +111 -0
  40. data/lib/fluent_command_builder/command_builders/mstest_90.rb +116 -0
  41. data/lib/fluent_command_builder/command_builders/netsh.rb +14 -0
  42. data/lib/fluent_command_builder/command_builders/netsh_61.rb +412 -0
  43. data/lib/fluent_command_builder/command_builders/nuget.rb +14 -0
  44. data/lib/fluent_command_builder/command_builders/nuget_20.rb +436 -0
  45. data/lib/fluent_command_builder/command_builders/nuget_21.rb +532 -0
  46. data/lib/fluent_command_builder/command_builders/nunit.rb +14 -0
  47. data/lib/fluent_command_builder/command_builders/nunit_25.rb +152 -0
  48. data/lib/fluent_command_builder/command_builders/nunit_26.rb +192 -0
  49. data/lib/fluent_command_builder/command_builders/rake.rb +14 -0
  50. data/lib/fluent_command_builder/command_builders/rake_09.rb +155 -0
  51. data/lib/fluent_command_builder/command_builders/rake_100.rb +193 -0
  52. data/lib/fluent_command_builder/command_builders/schtasks.rb +14 -0
  53. data/lib/fluent_command_builder/command_builders/schtasks_61.rb +352 -0
  54. data/lib/fluent_command_builder/command_builders/security_osx.rb +14 -0
  55. data/lib/fluent_command_builder/command_builders/security_osx_107.rb +187 -0
  56. data/lib/fluent_command_builder/command_builders/security_osx_108.rb +187 -0
  57. data/lib/fluent_command_builder/command_builders/sevenzip.rb +14 -0
  58. data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +522 -0
  59. data/lib/fluent_command_builder/command_builders/simian.rb +14 -0
  60. data/lib/fluent_command_builder/command_builders/simian_23.rb +146 -0
  61. data/lib/fluent_command_builder/command_builders/team_foundation.rb +14 -0
  62. data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +2159 -0
  63. data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +14 -0
  64. data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +1884 -0
  65. data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +2002 -0
  66. data/lib/fluent_command_builder/command_builders/xcodebuild.rb +14 -0
  67. data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +275 -0
  68. data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +325 -0
  69. data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +330 -0
  70. metadata +82 -13
@@ -0,0 +1,14 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require 'getversion'
4
+ require_relative '../internal/underlying_builder'
5
+
6
+ module FluentCommandBuilder
7
+ module XCodeBuild
8
+ COMMAND_NAME = 'xcodebuild'
9
+ def self.version(path=nil)
10
+ executable = path ? File.join(path, COMMAND_NAME) : COMMAND_NAME
11
+ GetVersion[executable]
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,275 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module XCodeBuild
9
+ module V43
10
+ VERSION = '4.3'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::XCodeBuild::COMMAND_NAME, VERSION
12
+ def configure_xcodebuild
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def xcodebuild
18
+ b = UnderlyingBuilder.new @@config
19
+ c = XCodeBuild.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class XCodeBuild < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def build_project(build_action=nil)
28
+ BuildProject.new @b, build_action
29
+ end
30
+ def build_project_scheme(build_action=nil)
31
+ BuildProjectScheme.new @b, build_action
32
+ end
33
+ def build_workspace(workspace_name, build_action=nil)
34
+ BuildWorkspace.new @b, workspace_name, build_action
35
+ end
36
+ def version
37
+ Version.new @b
38
+ end
39
+ def list
40
+ @b.append ' -list'
41
+ yield @b if block_given?
42
+ self
43
+ end
44
+ def list_project(project_name)
45
+ @b.append " -list -project #{@b.format project_name}"
46
+ yield @b if block_given?
47
+ self
48
+ end
49
+ def list_workspace(workspace_name)
50
+ @b.append " -list -workspace #{@b.format workspace_name}"
51
+ yield @b if block_given?
52
+ self
53
+ end
54
+ def find(binary)
55
+ @b.append " -find #{@b.format binary}"
56
+ yield @b if block_given?
57
+ self
58
+ end
59
+ def license
60
+ @b.append ' -license'
61
+ yield @b if block_given?
62
+ self
63
+ end
64
+ def show_sdks
65
+ @b.append ' -showsdks'
66
+ yield @b if block_given?
67
+ self
68
+ end
69
+ def usage
70
+ @b.append ' -usage'
71
+ yield @b if block_given?
72
+ self
73
+ end
74
+ end
75
+ class BuildProject < CommandBase
76
+ def initialize(underlying_builder, build_action=nil)
77
+ super underlying_builder
78
+ @b.append ' '
79
+ @b.append "#{@b.format build_action, ' '}" unless build_action.nil?
80
+ end
81
+ def all_targets
82
+ @b.append ' -alltargets'
83
+ yield @b if block_given?
84
+ self
85
+ end
86
+ def architecture(architecture)
87
+ @b.append " -arch #{@b.format architecture}"
88
+ yield @b if block_given?
89
+ self
90
+ end
91
+ def configuration(configuration_name)
92
+ @b.append " -configuration #{@b.format configuration_name}"
93
+ yield @b if block_given?
94
+ self
95
+ end
96
+ def jobs(number)
97
+ @b.append " -jobs #{@b.format number}"
98
+ yield @b if block_given?
99
+ self
100
+ end
101
+ def parallelize_targets
102
+ @b.append ' -parallelizeTargets'
103
+ yield @b if block_given?
104
+ self
105
+ end
106
+ def project(project_name)
107
+ @b.append " -project #{@b.format project_name}"
108
+ yield @b if block_given?
109
+ self
110
+ end
111
+ def target(target_name)
112
+ @b.append " -target #{@b.format target_name}"
113
+ yield @b if block_given?
114
+ self
115
+ end
116
+ def sdk(sdk_name)
117
+ @b.append " -sdk #{@b.format sdk_name}"
118
+ yield @b if block_given?
119
+ self
120
+ end
121
+ def verbose
122
+ @b.append ' -verbose'
123
+ yield @b if block_given?
124
+ self
125
+ end
126
+ def xcconfig(path)
127
+ @b.append " -xcconfig #{@b.format path}"
128
+ yield @b if block_given?
129
+ self
130
+ end
131
+ def setting(setting, value)
132
+ @b.append " #{@b.format setting}=#{@b.format value}"
133
+ yield @b if block_given?
134
+ self
135
+ end
136
+ def build_action(build_action)
137
+ @b.append " #{@b.format build_action, ' '}"
138
+ yield @b if block_given?
139
+ self
140
+ end
141
+ end
142
+ class BuildProjectScheme < CommandBase
143
+ def initialize(underlying_builder, build_action=nil)
144
+ super underlying_builder
145
+ @b.append ' '
146
+ @b.append "#{@b.format build_action, ' '}" unless build_action.nil?
147
+ end
148
+ def architecture(architecture)
149
+ @b.append " -arch #{@b.format architecture}"
150
+ yield @b if block_given?
151
+ self
152
+ end
153
+ def configuration(configuration_name)
154
+ @b.append " -configuration #{@b.format configuration_name}"
155
+ yield @b if block_given?
156
+ self
157
+ end
158
+ def jobs(number)
159
+ @b.append " -jobs #{@b.format number}"
160
+ yield @b if block_given?
161
+ self
162
+ end
163
+ def parallelize_targets
164
+ @b.append ' -parallelizeTargets'
165
+ yield @b if block_given?
166
+ self
167
+ end
168
+ def scheme(scheme_name)
169
+ @b.append " -scheme #{@b.format scheme_name}"
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ def sdk(sdk_name)
174
+ @b.append " -sdk #{@b.format sdk_name}"
175
+ yield @b if block_given?
176
+ self
177
+ end
178
+ def verbose
179
+ @b.append ' -verbose'
180
+ yield @b if block_given?
181
+ self
182
+ end
183
+ def xcconfig(path)
184
+ @b.append " -xcconfig #{@b.format path}"
185
+ yield @b if block_given?
186
+ self
187
+ end
188
+ def setting(setting, value)
189
+ @b.append " #{@b.format setting}=#{@b.format value}"
190
+ yield @b if block_given?
191
+ self
192
+ end
193
+ def build_action(build_action)
194
+ @b.append " #{@b.format build_action, ' '}"
195
+ yield @b if block_given?
196
+ self
197
+ end
198
+ end
199
+ class BuildWorkspace < CommandBase
200
+ def initialize(underlying_builder, workspace_name, build_action=nil)
201
+ super underlying_builder
202
+ @b.append " -workspace #{@b.format workspace_name}"
203
+ @b.append " #{@b.format build_action, ' '}" unless build_action.nil?
204
+ end
205
+ def architecture(architecture)
206
+ @b.append " -arch #{@b.format architecture}"
207
+ yield @b if block_given?
208
+ self
209
+ end
210
+ def configuration(configuration_name)
211
+ @b.append " -configuration #{@b.format configuration_name}"
212
+ yield @b if block_given?
213
+ self
214
+ end
215
+ def jobs(number)
216
+ @b.append " -jobs #{@b.format number}"
217
+ yield @b if block_given?
218
+ self
219
+ end
220
+ def parallelize_targets
221
+ @b.append ' -parallelizeTargets'
222
+ yield @b if block_given?
223
+ self
224
+ end
225
+ def scheme(scheme_name)
226
+ @b.append " -scheme #{@b.format scheme_name}"
227
+ yield @b if block_given?
228
+ self
229
+ end
230
+ def sdk(sdk_name)
231
+ @b.append " -sdk #{@b.format sdk_name}"
232
+ yield @b if block_given?
233
+ self
234
+ end
235
+ def verbose
236
+ @b.append ' -verbose'
237
+ yield @b if block_given?
238
+ self
239
+ end
240
+ def xcconfig(path)
241
+ @b.append " -xcconfig #{@b.format path}"
242
+ yield @b if block_given?
243
+ self
244
+ end
245
+ def setting(setting, value)
246
+ @b.append " #{@b.format setting}=#{@b.format value}"
247
+ yield @b if block_given?
248
+ self
249
+ end
250
+ def build_action(build_action)
251
+ @b.append " #{@b.format build_action, ' '}"
252
+ yield @b if block_given?
253
+ self
254
+ end
255
+ end
256
+ class Version < CommandBase
257
+ def initialize(underlying_builder)
258
+ super underlying_builder
259
+ @b.append ' -version'
260
+ end
261
+ def sdk(sdk_name)
262
+ @b.append " -sdk #{@b.format sdk_name}"
263
+ yield @b if block_given?
264
+ self
265
+ end
266
+ def info_item(info_item)
267
+ @b.append " #{@b.format info_item}"
268
+ yield @b if block_given?
269
+ self
270
+ end
271
+ end
272
+
273
+ end
274
+ end
275
+ end
@@ -0,0 +1,325 @@
1
+ # Generated code. Do not modify.
2
+
3
+ require_relative '../internal/command_base'
4
+ require_relative '../internal/command_builder_config'
5
+ require_relative '../internal/underlying_builder'
6
+
7
+ module FluentCommandBuilder
8
+ module XCodeBuild
9
+ module V44
10
+ VERSION = '4.4'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::XCodeBuild::COMMAND_NAME, VERSION
12
+ def configure_xcodebuild
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def xcodebuild
18
+ b = UnderlyingBuilder.new @@config
19
+ c = XCodeBuild.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class XCodeBuild < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def build_project(build_action=nil)
28
+ BuildProject.new @b, build_action
29
+ end
30
+ def build_project_scheme(build_action=nil)
31
+ BuildProjectScheme.new @b, build_action
32
+ end
33
+ def build_workspace(workspace_name, build_action=nil)
34
+ BuildWorkspace.new @b, workspace_name, build_action
35
+ end
36
+ def version
37
+ Version.new @b
38
+ end
39
+ def list
40
+ @b.append ' -list'
41
+ yield @b if block_given?
42
+ self
43
+ end
44
+ def list_project(project_name)
45
+ @b.append " -list -project #{@b.format project_name}"
46
+ yield @b if block_given?
47
+ self
48
+ end
49
+ def list_workspace(workspace_name)
50
+ @b.append " -list -workspace #{@b.format workspace_name}"
51
+ yield @b if block_given?
52
+ self
53
+ end
54
+ def find(binary)
55
+ @b.append " -find #{@b.format binary}"
56
+ yield @b if block_given?
57
+ self
58
+ end
59
+ def help
60
+ @b.append ' -help'
61
+ yield @b if block_given?
62
+ self
63
+ end
64
+ def license
65
+ @b.append ' -license'
66
+ yield @b if block_given?
67
+ self
68
+ end
69
+ def show_sdks
70
+ @b.append ' -showsdks'
71
+ yield @b if block_given?
72
+ self
73
+ end
74
+ def usage
75
+ @b.append ' -usage'
76
+ yield @b if block_given?
77
+ self
78
+ end
79
+ end
80
+ class BuildProject < CommandBase
81
+ def initialize(underlying_builder, build_action=nil)
82
+ super underlying_builder
83
+ @b.append ' '
84
+ @b.append "#{@b.format build_action, ' '}" unless build_action.nil?
85
+ end
86
+ def all_targets
87
+ @b.append ' -alltargets'
88
+ yield @b if block_given?
89
+ self
90
+ end
91
+ def architecture(architecture)
92
+ @b.append " -arch #{@b.format architecture}"
93
+ yield @b if block_given?
94
+ self
95
+ end
96
+ def configuration(configuration_name)
97
+ @b.append " -configuration #{@b.format configuration_name}"
98
+ yield @b if block_given?
99
+ self
100
+ end
101
+ def dry_run
102
+ @b.append ' -dry-run'
103
+ yield @b if block_given?
104
+ self
105
+ end
106
+ def jobs(number)
107
+ @b.append " -jobs #{@b.format number}"
108
+ yield @b if block_given?
109
+ self
110
+ end
111
+ def parallelize_targets
112
+ @b.append ' -parallelizeTargets'
113
+ yield @b if block_given?
114
+ self
115
+ end
116
+ def project(project_name)
117
+ @b.append " -project #{@b.format project_name}"
118
+ yield @b if block_given?
119
+ self
120
+ end
121
+ def target(target_name)
122
+ @b.append " -target #{@b.format target_name}"
123
+ yield @b if block_given?
124
+ self
125
+ end
126
+ def sdk(sdk_name)
127
+ @b.append " -sdk #{@b.format sdk_name}"
128
+ yield @b if block_given?
129
+ self
130
+ end
131
+ def show_build_settings
132
+ @b.append ' -showBuildSettings'
133
+ yield @b if block_given?
134
+ self
135
+ end
136
+ def toolchain(name)
137
+ @b.append " -toolchain #{@b.format name}"
138
+ yield @b if block_given?
139
+ self
140
+ end
141
+ def verbose
142
+ @b.append ' -verbose'
143
+ yield @b if block_given?
144
+ self
145
+ end
146
+ def xcconfig(path)
147
+ @b.append " -xcconfig #{@b.format path}"
148
+ yield @b if block_given?
149
+ self
150
+ end
151
+ def setting(setting, value)
152
+ @b.append " #{@b.format setting}=#{@b.format value}"
153
+ yield @b if block_given?
154
+ self
155
+ end
156
+ def build_action(build_action)
157
+ @b.append " #{@b.format build_action, ' '}"
158
+ yield @b if block_given?
159
+ self
160
+ end
161
+ end
162
+ class BuildProjectScheme < CommandBase
163
+ def initialize(underlying_builder, build_action=nil)
164
+ super underlying_builder
165
+ @b.append ' '
166
+ @b.append "#{@b.format build_action, ' '}" unless build_action.nil?
167
+ end
168
+ def architecture(architecture)
169
+ @b.append " -arch #{@b.format architecture}"
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ def configuration(configuration_name)
174
+ @b.append " -configuration #{@b.format configuration_name}"
175
+ yield @b if block_given?
176
+ self
177
+ end
178
+ def dry_run
179
+ @b.append ' -dry-run'
180
+ yield @b if block_given?
181
+ self
182
+ end
183
+ def jobs(number)
184
+ @b.append " -jobs #{@b.format number}"
185
+ yield @b if block_given?
186
+ self
187
+ end
188
+ def parallelize_targets
189
+ @b.append ' -parallelizeTargets'
190
+ yield @b if block_given?
191
+ self
192
+ end
193
+ def scheme(scheme_name)
194
+ @b.append " -scheme #{@b.format scheme_name}"
195
+ yield @b if block_given?
196
+ self
197
+ end
198
+ def sdk(sdk_name)
199
+ @b.append " -sdk #{@b.format sdk_name}"
200
+ yield @b if block_given?
201
+ self
202
+ end
203
+ def show_build_settings
204
+ @b.append ' -showBuildSettings'
205
+ yield @b if block_given?
206
+ self
207
+ end
208
+ def toolchain(name)
209
+ @b.append " -toolchain #{@b.format name}"
210
+ yield @b if block_given?
211
+ self
212
+ end
213
+ def verbose
214
+ @b.append ' -verbose'
215
+ yield @b if block_given?
216
+ self
217
+ end
218
+ def xcconfig(path)
219
+ @b.append " -xcconfig #{@b.format path}"
220
+ yield @b if block_given?
221
+ self
222
+ end
223
+ def setting(setting, value)
224
+ @b.append " #{@b.format setting}=#{@b.format value}"
225
+ yield @b if block_given?
226
+ self
227
+ end
228
+ def build_action(build_action)
229
+ @b.append " #{@b.format build_action, ' '}"
230
+ yield @b if block_given?
231
+ self
232
+ end
233
+ end
234
+ class BuildWorkspace < CommandBase
235
+ def initialize(underlying_builder, workspace_name, build_action=nil)
236
+ super underlying_builder
237
+ @b.append " -workspace #{@b.format workspace_name}"
238
+ @b.append " #{@b.format build_action, ' '}" unless build_action.nil?
239
+ end
240
+ def architecture(architecture)
241
+ @b.append " -arch #{@b.format architecture}"
242
+ yield @b if block_given?
243
+ self
244
+ end
245
+ def configuration(configuration_name)
246
+ @b.append " -configuration #{@b.format configuration_name}"
247
+ yield @b if block_given?
248
+ self
249
+ end
250
+ def dry_run
251
+ @b.append ' -dry-run'
252
+ yield @b if block_given?
253
+ self
254
+ end
255
+ def jobs(number)
256
+ @b.append " -jobs #{@b.format number}"
257
+ yield @b if block_given?
258
+ self
259
+ end
260
+ def parallelize_targets
261
+ @b.append ' -parallelizeTargets'
262
+ yield @b if block_given?
263
+ self
264
+ end
265
+ def scheme(scheme_name)
266
+ @b.append " -scheme #{@b.format scheme_name}"
267
+ yield @b if block_given?
268
+ self
269
+ end
270
+ def sdk(sdk_name)
271
+ @b.append " -sdk #{@b.format sdk_name}"
272
+ yield @b if block_given?
273
+ self
274
+ end
275
+ def show_build_settings
276
+ @b.append ' -showBuildSettings'
277
+ yield @b if block_given?
278
+ self
279
+ end
280
+ def toolchain(name)
281
+ @b.append " -toolchain #{@b.format name}"
282
+ yield @b if block_given?
283
+ self
284
+ end
285
+ def verbose
286
+ @b.append ' -verbose'
287
+ yield @b if block_given?
288
+ self
289
+ end
290
+ def xcconfig(path)
291
+ @b.append " -xcconfig #{@b.format path}"
292
+ yield @b if block_given?
293
+ self
294
+ end
295
+ def setting(setting, value)
296
+ @b.append " #{@b.format setting}=#{@b.format value}"
297
+ yield @b if block_given?
298
+ self
299
+ end
300
+ def build_action(build_action)
301
+ @b.append " #{@b.format build_action, ' '}"
302
+ yield @b if block_given?
303
+ self
304
+ end
305
+ end
306
+ class Version < CommandBase
307
+ def initialize(underlying_builder)
308
+ super underlying_builder
309
+ @b.append ' -version'
310
+ end
311
+ def sdk(sdk_name)
312
+ @b.append " -sdk #{@b.format sdk_name}"
313
+ yield @b if block_given?
314
+ self
315
+ end
316
+ def info_item(info_item)
317
+ @b.append " #{@b.format info_item}"
318
+ yield @b if block_given?
319
+ self
320
+ end
321
+ end
322
+
323
+ end
324
+ end
325
+ end