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,344 @@
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 Bundle
9
+ module V12
10
+ VERSION = '1.2'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Bundle::COMMAND_NAME, VERSION
12
+ def configure_bundle
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def bundle
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Bundle.new(b)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Bundle < CommandBase
24
+ def initialize(underlying_builder)
25
+ super underlying_builder
26
+ end
27
+ def cache
28
+ Cache.new @b
29
+ end
30
+ def check
31
+ Check.new @b
32
+ end
33
+ def clean
34
+ Clean.new @b
35
+ end
36
+ def config(name, value=nil)
37
+ @b.append " config #{@b.format name}"
38
+ @b.append " #{@b.format value}" unless value.nil?
39
+ yield @b if block_given?
40
+ self
41
+ end
42
+ def console(group=nil)
43
+ @b.append ' console'
44
+ @b.append " #{@b.format group}" unless group.nil?
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def exec(command)
49
+ @b.append " exec #{@b.format command}"
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def gem(gem)
54
+ Gem.new @b, gem
55
+ end
56
+ def init
57
+ Init.new @b
58
+ end
59
+ def install
60
+ Install.new @b
61
+ end
62
+ def open(gem)
63
+ @b.append " open #{@b.format gem}"
64
+ yield @b if block_given?
65
+ self
66
+ end
67
+ def outdated(gem=nil)
68
+ Outdated.new @b, gem
69
+ end
70
+ def package
71
+ Package.new @b
72
+ end
73
+ def platform
74
+ Platform.new @b
75
+ end
76
+ def show(gem=nil)
77
+ Show.new @b, gem
78
+ end
79
+ def update(gem=nil)
80
+ Update.new @b, gem
81
+ end
82
+ def version
83
+ @b.append ' version'
84
+ yield @b if block_given?
85
+ self
86
+ end
87
+ def viz
88
+ Viz.new @b
89
+ end
90
+ end
91
+ class Cache < CommandBase
92
+ def initialize(underlying_builder)
93
+ super underlying_builder
94
+ @b.append ' cache'
95
+ end
96
+ def no_prune
97
+ @b.append ' --no-prune'
98
+ yield @b if block_given?
99
+ self
100
+ end
101
+ def all
102
+ @b.append ' --all'
103
+ yield @b if block_given?
104
+ self
105
+ end
106
+ end
107
+ class Check < CommandBase
108
+ def initialize(underlying_builder)
109
+ super underlying_builder
110
+ @b.append ' check'
111
+ end
112
+ def gemfile(file)
113
+ @b.append " --gemfile=#{@b.format file}"
114
+ yield @b if block_given?
115
+ self
116
+ end
117
+ def path(path)
118
+ @b.append " --path=#{@b.format path}"
119
+ yield @b if block_given?
120
+ self
121
+ end
122
+ end
123
+ class Clean < CommandBase
124
+ def initialize(underlying_builder)
125
+ super underlying_builder
126
+ @b.append ' clean'
127
+ end
128
+ def force
129
+ @b.append ' --force'
130
+ yield @b if block_given?
131
+ self
132
+ end
133
+ end
134
+ class Gem < CommandBase
135
+ def initialize(underlying_builder, gem)
136
+ super underlying_builder
137
+ @b.append " gem #{@b.format gem}"
138
+ end
139
+ def bin
140
+ @b.append ' --bin'
141
+ yield @b if block_given?
142
+ self
143
+ end
144
+ end
145
+ class Init < CommandBase
146
+ def initialize(underlying_builder)
147
+ super underlying_builder
148
+ @b.append ' init'
149
+ end
150
+ def gemspec(file)
151
+ @b.append " --gemspec=#{@b.format file}"
152
+ yield @b if block_given?
153
+ self
154
+ end
155
+ end
156
+ class Install < CommandBase
157
+ def initialize(underlying_builder)
158
+ super underlying_builder
159
+ @b.append ' install'
160
+ end
161
+ def binstubs(path)
162
+ @b.append " --binstubs=#{@b.format path}"
163
+ yield @b if block_given?
164
+ self
165
+ end
166
+ def clean
167
+ @b.append ' --clean'
168
+ yield @b if block_given?
169
+ self
170
+ end
171
+ def deployment
172
+ @b.append ' --deployment'
173
+ yield @b if block_given?
174
+ self
175
+ end
176
+ def frozen
177
+ @b.append ' --frozen'
178
+ yield @b if block_given?
179
+ self
180
+ end
181
+ def full_index
182
+ @b.append ' --full-index'
183
+ yield @b if block_given?
184
+ self
185
+ end
186
+ def gemfile(file)
187
+ @b.append " --gemfile=#{@b.format file}"
188
+ yield @b if block_given?
189
+ self
190
+ end
191
+ def local
192
+ @b.append ' --local'
193
+ yield @b if block_given?
194
+ self
195
+ end
196
+ def no_cache
197
+ @b.append ' --no-cache'
198
+ yield @b if block_given?
199
+ self
200
+ end
201
+ def no_prune
202
+ @b.append ' --no-prune'
203
+ yield @b if block_given?
204
+ self
205
+ end
206
+ def path(path)
207
+ @b.append " --path=#{@b.format path}"
208
+ yield @b if block_given?
209
+ self
210
+ end
211
+ def quiet
212
+ @b.append ' --quiet'
213
+ yield @b if block_given?
214
+ self
215
+ end
216
+ def shebang(string)
217
+ @b.append " --shebang=#{@b.format string}"
218
+ yield @b if block_given?
219
+ self
220
+ end
221
+ def standalone(array)
222
+ @b.append " --standalone=#{@b.format array}"
223
+ yield @b if block_given?
224
+ self
225
+ end
226
+ def system
227
+ @b.append ' --system'
228
+ yield @b if block_given?
229
+ self
230
+ end
231
+ def without(group)
232
+ @b.append " --without=#{@b.format group}"
233
+ yield @b if block_given?
234
+ self
235
+ end
236
+ end
237
+ class Outdated < CommandBase
238
+ def initialize(underlying_builder, gem=nil)
239
+ super underlying_builder
240
+ @b.append ' outdated'
241
+ @b.append " #{@b.format gem}" unless gem.nil?
242
+ end
243
+ def local
244
+ @b.append ' --local'
245
+ yield @b if block_given?
246
+ self
247
+ end
248
+ def pre
249
+ @b.append ' --pre'
250
+ yield @b if block_given?
251
+ self
252
+ end
253
+ def source
254
+ @b.append ' --source'
255
+ yield @b if block_given?
256
+ self
257
+ end
258
+ end
259
+ class Package < CommandBase
260
+ def initialize(underlying_builder)
261
+ super underlying_builder
262
+ @b.append ' package'
263
+ end
264
+ def no_prune
265
+ @b.append ' --no-prune'
266
+ yield @b if block_given?
267
+ self
268
+ end
269
+ def all
270
+ @b.append ' --all'
271
+ yield @b if block_given?
272
+ self
273
+ end
274
+ end
275
+ class Platform < CommandBase
276
+ def initialize(underlying_builder)
277
+ super underlying_builder
278
+ @b.append ' platform'
279
+ end
280
+ def ruby
281
+ @b.append ' --ruby'
282
+ yield @b if block_given?
283
+ self
284
+ end
285
+ end
286
+ class Show < CommandBase
287
+ def initialize(underlying_builder, gem=nil)
288
+ super underlying_builder
289
+ @b.append ' show'
290
+ @b.append " #{@b.format gem}" unless gem.nil?
291
+ end
292
+ def paths
293
+ @b.append ' --paths'
294
+ yield @b if block_given?
295
+ self
296
+ end
297
+ end
298
+ class Update < CommandBase
299
+ def initialize(underlying_builder, gem=nil)
300
+ super underlying_builder
301
+ @b.append ' update'
302
+ @b.append " #{@b.format gem}" unless gem.nil?
303
+ end
304
+ def local
305
+ @b.append ' --local'
306
+ yield @b if block_given?
307
+ self
308
+ end
309
+ def source(source)
310
+ @b.append " --source=#{@b.format source}"
311
+ yield @b if block_given?
312
+ self
313
+ end
314
+ end
315
+ class Viz < CommandBase
316
+ def initialize(underlying_builder)
317
+ super underlying_builder
318
+ @b.append ' viz'
319
+ end
320
+ def file(file)
321
+ @b.append " --file=#{@b.format file}"
322
+ yield @b if block_given?
323
+ self
324
+ end
325
+ def format(format)
326
+ @b.append " --format=#{@b.format format}"
327
+ yield @b if block_given?
328
+ self
329
+ end
330
+ def requirements
331
+ @b.append ' --requirements'
332
+ yield @b if block_given?
333
+ self
334
+ end
335
+ def version
336
+ @b.append ' --version'
337
+ yield @b if block_given?
338
+ self
339
+ end
340
+ end
341
+
342
+ end
343
+ end
344
+ end
@@ -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 Cucumber
8
+ COMMAND_NAME = 'cucumber'
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,177 @@
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 Cucumber
9
+ module V11
10
+ VERSION = '1.1'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Cucumber::COMMAND_NAME, VERSION
12
+ def configure_cucumber
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def cucumber(feature=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Cucumber.new(b, feature)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Cucumber < CommandBase
24
+ def initialize(underlying_builder, feature=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format feature}" unless feature.nil?
27
+ end
28
+ def require(library)
29
+ @b.append " --require #{@b.format library}"
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def i18n(lang)
34
+ @b.append " --i18n #{@b.format lang}"
35
+ yield @b if block_given?
36
+ self
37
+ end
38
+ def format(format)
39
+ @b.append " --format #{@b.format format}"
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def out(file)
44
+ @b.append " --out #{@b.format file}"
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def tags(tag_expression)
49
+ @b.append " --tags #{@b.format tag_expression, ','}"
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def name(name)
54
+ @b.append " --name #{@b.format name}"
55
+ yield @b if block_given?
56
+ self
57
+ end
58
+ def exclude(pattern)
59
+ @b.append " --exclude #{@b.format pattern}"
60
+ yield @b if block_given?
61
+ self
62
+ end
63
+ def profile(profile)
64
+ @b.append " --profile #{@b.format profile}"
65
+ yield @b if block_given?
66
+ self
67
+ end
68
+ def no_profile
69
+ @b.append ' --no-profile'
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def color
74
+ @b.append ' --color'
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def no_color
79
+ @b.append ' --no-color'
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def dry_run
84
+ @b.append ' --dry-run'
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def autoformat(dir)
89
+ @b.append " --autoformat #{@b.format dir}"
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def no_multiline
94
+ @b.append ' --no-multiline'
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ def no_source
99
+ @b.append ' --no-source'
100
+ yield @b if block_given?
101
+ self
102
+ end
103
+ def no_snippets
104
+ @b.append ' --no-snippets'
105
+ yield @b if block_given?
106
+ self
107
+ end
108
+ def quiet
109
+ @b.append ' --quiet'
110
+ yield @b if block_given?
111
+ self
112
+ end
113
+ def backtrace
114
+ @b.append ' --backtrace'
115
+ yield @b if block_given?
116
+ self
117
+ end
118
+ def strict
119
+ @b.append ' --strict'
120
+ yield @b if block_given?
121
+ self
122
+ end
123
+ def wip
124
+ @b.append ' --wip'
125
+ yield @b if block_given?
126
+ self
127
+ end
128
+ def verbose
129
+ @b.append ' --verbose'
130
+ yield @b if block_given?
131
+ self
132
+ end
133
+ def guess
134
+ @b.append ' --guess'
135
+ yield @b if block_given?
136
+ self
137
+ end
138
+ def lines(lines)
139
+ @b.append " --lines #{@b.format lines}"
140
+ yield @b if block_given?
141
+ self
142
+ end
143
+ def expand
144
+ @b.append ' --expand'
145
+ yield @b if block_given?
146
+ self
147
+ end
148
+ def drb
149
+ @b.append ' --drb'
150
+ yield @b if block_given?
151
+ self
152
+ end
153
+ def port(port)
154
+ @b.append " --port #{@b.format port}"
155
+ yield @b if block_given?
156
+ self
157
+ end
158
+ def dotcucumber(dir)
159
+ @b.append " --dotcucumber #{@b.format dir}"
160
+ yield @b if block_given?
161
+ self
162
+ end
163
+ def version
164
+ @b.append ' --version'
165
+ yield @b if block_given?
166
+ self
167
+ end
168
+ def help
169
+ @b.append ' --help'
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ end
174
+
175
+ end
176
+ end
177
+ end