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 NUnit
8
+ COMMAND_NAME = 'nunit-console'
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,152 @@
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 NUnit
9
+ module V25
10
+ VERSION = '2.5'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::NUnit::COMMAND_NAME, VERSION
12
+ def configure_nunit
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def nunit(input_files=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = NUnit.new(b, input_files)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class NUnit < CommandBase
24
+ def initialize(underlying_builder, input_files=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format input_files}" unless input_files.nil?
27
+ end
28
+ def input_files(input_files)
29
+ @b.append " #{@b.format input_files}"
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def fixture(fixture)
34
+ @b.append " -fixture:#{@b.format fixture}"
35
+ yield @b if block_given?
36
+ self
37
+ end
38
+ def load(fixture)
39
+ @b.append " -load:#{@b.format fixture}"
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def run(test)
44
+ @b.append " -run:#{@b.format test}"
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def config(config)
49
+ @b.append " -config:#{@b.format config}"
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def xml(file)
54
+ @b.append " -xml:#{@b.format file}"
55
+ yield @b if block_given?
56
+ self
57
+ end
58
+ def xml_console
59
+ @b.append ' -xmlConsole'
60
+ yield @b if block_given?
61
+ self
62
+ end
63
+ def output(file)
64
+ @b.append " -output:#{@b.format file}"
65
+ yield @b if block_given?
66
+ self
67
+ end
68
+ def out(file)
69
+ @b.append " -out:#{@b.format file}"
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def err(file)
74
+ @b.append " -err:#{@b.format file}"
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def labels
79
+ @b.append ' -labels'
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def trace(level)
84
+ @b.append " -trace:#{@b.format level}"
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def include(category)
89
+ @b.append " -include:#{@b.format category}"
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def exclude(category)
94
+ @b.append " -exclude:#{@b.format category}"
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ def process(process)
99
+ @b.append " -process:#{@b.format process}"
100
+ yield @b if block_given?
101
+ self
102
+ end
103
+ def domain(domain)
104
+ @b.append " -domain:#{@b.format domain}"
105
+ yield @b if block_given?
106
+ self
107
+ end
108
+ def framework(framework)
109
+ @b.append " -framework:#{@b.format framework}"
110
+ yield @b if block_given?
111
+ self
112
+ end
113
+ def no_shadow
114
+ @b.append ' -noShadow'
115
+ yield @b if block_given?
116
+ self
117
+ end
118
+ def no_thread
119
+ @b.append ' -noThread'
120
+ yield @b if block_given?
121
+ self
122
+ end
123
+ def timeout(timeout)
124
+ @b.append " -timeout:#{@b.format timeout}"
125
+ yield @b if block_given?
126
+ self
127
+ end
128
+ def wait
129
+ @b.append ' -wait'
130
+ yield @b if block_given?
131
+ self
132
+ end
133
+ def no_logo
134
+ @b.append ' -noLogo'
135
+ yield @b if block_given?
136
+ self
137
+ end
138
+ def no_dots
139
+ @b.append ' -noDots'
140
+ yield @b if block_given?
141
+ self
142
+ end
143
+ def help
144
+ @b.append ' -help'
145
+ yield @b if block_given?
146
+ self
147
+ end
148
+ end
149
+
150
+ end
151
+ end
152
+ end
@@ -0,0 +1,192 @@
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 NUnit
9
+ module V26
10
+ VERSION = '2.6'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::NUnit::COMMAND_NAME, VERSION
12
+ def configure_nunit
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def nunit(input_files=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = NUnit.new(b, input_files)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class NUnit < CommandBase
24
+ def initialize(underlying_builder, input_files=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format input_files}" unless input_files.nil?
27
+ end
28
+ def input_files(input_files)
29
+ @b.append " #{@b.format input_files}"
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def fixture(fixture)
34
+ @b.append " -fixture:#{@b.format fixture}"
35
+ yield @b if block_given?
36
+ self
37
+ end
38
+ def load(fixture)
39
+ @b.append " -load:#{@b.format fixture}"
40
+ yield @b if block_given?
41
+ self
42
+ end
43
+ def run(test)
44
+ @b.append " -run:#{@b.format test}"
45
+ yield @b if block_given?
46
+ self
47
+ end
48
+ def run_list(file)
49
+ @b.append " -runList:#{@b.format file}"
50
+ yield @b if block_given?
51
+ self
52
+ end
53
+ def config(config)
54
+ @b.append " -config:#{@b.format config}"
55
+ yield @b if block_given?
56
+ self
57
+ end
58
+ def result(file)
59
+ @b.append " -result:#{@b.format file}"
60
+ yield @b if block_given?
61
+ self
62
+ end
63
+ def xml(file)
64
+ @b.append " -xml:#{@b.format file}"
65
+ yield @b if block_given?
66
+ self
67
+ end
68
+ def xml_console
69
+ @b.append ' -xmlConsole'
70
+ yield @b if block_given?
71
+ self
72
+ end
73
+ def no_result
74
+ @b.append ' -noResult'
75
+ yield @b if block_given?
76
+ self
77
+ end
78
+ def no_xml
79
+ @b.append ' -noXml'
80
+ yield @b if block_given?
81
+ self
82
+ end
83
+ def output(file)
84
+ @b.append " -output:#{@b.format file}"
85
+ yield @b if block_given?
86
+ self
87
+ end
88
+ def out(file)
89
+ @b.append " -out:#{@b.format file}"
90
+ yield @b if block_given?
91
+ self
92
+ end
93
+ def err(file)
94
+ @b.append " -err:#{@b.format file}"
95
+ yield @b if block_given?
96
+ self
97
+ end
98
+ def work(directory)
99
+ @b.append " -work:#{@b.format directory}"
100
+ yield @b if block_given?
101
+ self
102
+ end
103
+ def labels
104
+ @b.append ' -labels'
105
+ yield @b if block_given?
106
+ self
107
+ end
108
+ def trace(level)
109
+ @b.append " -trace:#{@b.format level}"
110
+ yield @b if block_given?
111
+ self
112
+ end
113
+ def include(category)
114
+ @b.append " -include:#{@b.format category}"
115
+ yield @b if block_given?
116
+ self
117
+ end
118
+ def exclude(category)
119
+ @b.append " -exclude:#{@b.format category}"
120
+ yield @b if block_given?
121
+ self
122
+ end
123
+ def framework(framework)
124
+ @b.append " -framework:#{@b.format framework}"
125
+ yield @b if block_given?
126
+ self
127
+ end
128
+ def process(process)
129
+ @b.append " -process:#{@b.format process}"
130
+ yield @b if block_given?
131
+ self
132
+ end
133
+ def domain(domain)
134
+ @b.append " -domain:#{@b.format domain}"
135
+ yield @b if block_given?
136
+ self
137
+ end
138
+ def apartment(apartment)
139
+ @b.append " -apartment:#{@b.format apartment}"
140
+ yield @b if block_given?
141
+ self
142
+ end
143
+ def no_shadow
144
+ @b.append ' -noShadow'
145
+ yield @b if block_given?
146
+ self
147
+ end
148
+ def no_thread
149
+ @b.append ' -noThread'
150
+ yield @b if block_given?
151
+ self
152
+ end
153
+ def timeout(timeout)
154
+ @b.append " -timeout:#{@b.format timeout}"
155
+ yield @b if block_given?
156
+ self
157
+ end
158
+ def wait
159
+ @b.append ' -wait'
160
+ yield @b if block_given?
161
+ self
162
+ end
163
+ def no_logo
164
+ @b.append ' -noLogo'
165
+ yield @b if block_given?
166
+ self
167
+ end
168
+ def no_dots
169
+ @b.append ' -noDots'
170
+ yield @b if block_given?
171
+ self
172
+ end
173
+ def stop_on_error
174
+ @b.append ' -stopOnError'
175
+ yield @b if block_given?
176
+ self
177
+ end
178
+ def cleanup
179
+ @b.append ' -cleanup'
180
+ yield @b if block_given?
181
+ self
182
+ end
183
+ def help
184
+ @b.append ' -help'
185
+ yield @b if block_given?
186
+ self
187
+ end
188
+ end
189
+
190
+ end
191
+ end
192
+ 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 Rake
8
+ COMMAND_NAME = 'rake'
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,155 @@
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 Rake
9
+ module V09
10
+ VERSION = '0.9'
11
+ @@config = CommandBuilderConfig.new FluentCommandBuilder::Rake::COMMAND_NAME, VERSION
12
+ def configure_rake
13
+ yield @@config
14
+ @@config.validate_path
15
+ @@config.validate_version
16
+ end
17
+ def rake(task=nil)
18
+ b = UnderlyingBuilder.new @@config
19
+ c = Rake.new(b, task)
20
+ yield b if block_given?
21
+ c
22
+ end
23
+ class Rake < CommandBase
24
+ def initialize(underlying_builder, task=nil)
25
+ super underlying_builder
26
+ @b.append " #{@b.format task, ' '}" unless task.nil?
27
+ end
28
+ def classic_namespace
29
+ @b.append ' --classic-namespace'
30
+ yield @b if block_given?
31
+ self
32
+ end
33
+ def describe(pattern=nil)
34
+ @b.append ' --describe'
35
+ @b.append " #{@b.format pattern}" unless pattern.nil?
36
+ yield @b if block_given?
37
+ self
38
+ end
39
+ def dry_run
40
+ @b.append ' --dry-run'
41
+ yield @b if block_given?
42
+ self
43
+ end
44
+ def execute(code)
45
+ @b.append " --execute #{@b.format code}"
46
+ yield @b if block_given?
47
+ self
48
+ end
49
+ def execute_continue(code)
50
+ @b.append " --execute-continue #{@b.format code}"
51
+ yield @b if block_given?
52
+ self
53
+ end
54
+ def execute_print(code)
55
+ @b.append " --execute-print #{@b.format code}"
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 libdir(lib_dir)
65
+ @b.append " --libdir #{@b.format lib_dir}"
66
+ yield @b if block_given?
67
+ self
68
+ end
69
+ def no_deprecation_warnings
70
+ @b.append ' --no-deprecation-warnings'
71
+ yield @b if block_given?
72
+ self
73
+ end
74
+ def no_search
75
+ @b.append ' --no-search'
76
+ yield @b if block_given?
77
+ self
78
+ end
79
+ def no_system
80
+ @b.append ' --no-system'
81
+ yield @b if block_given?
82
+ self
83
+ end
84
+ def prereqs
85
+ @b.append ' --prereqs'
86
+ yield @b if block_given?
87
+ self
88
+ end
89
+ def quiet
90
+ @b.append ' --quiet'
91
+ yield @b if block_given?
92
+ self
93
+ end
94
+ def rakefile(file)
95
+ @b.append " --rakefile #{@b.format file}"
96
+ yield @b if block_given?
97
+ self
98
+ end
99
+ def rakelibdir(rake_lib_dir)
100
+ @b.append " --rakelibdir #{@b.format rake_lib_dir}"
101
+ yield @b if block_given?
102
+ self
103
+ end
104
+ def require(file)
105
+ @b.append " --require #{@b.format file}"
106
+ yield @b if block_given?
107
+ self
108
+ end
109
+ def rules
110
+ @b.append ' --rules'
111
+ yield @b if block_given?
112
+ self
113
+ end
114
+ def silent
115
+ @b.append ' --silent'
116
+ yield @b if block_given?
117
+ self
118
+ end
119
+ def system
120
+ @b.append ' --system'
121
+ yield @b if block_given?
122
+ self
123
+ end
124
+ def tasks(pattern=nil)
125
+ @b.append ' --tasks'
126
+ @b.append " #{@b.format pattern}" unless pattern.nil?
127
+ yield @b if block_given?
128
+ self
129
+ end
130
+ def trace
131
+ @b.append ' --trace'
132
+ yield @b if block_given?
133
+ self
134
+ end
135
+ def verbose
136
+ @b.append ' --verbose'
137
+ yield @b if block_given?
138
+ self
139
+ end
140
+ def version
141
+ @b.append ' --version'
142
+ yield @b if block_given?
143
+ self
144
+ end
145
+ def where(pattern=nil)
146
+ @b.append ' --where'
147
+ @b.append " #{@b.format pattern}" unless pattern.nil?
148
+ yield @b if block_given?
149
+ self
150
+ end
151
+ end
152
+
153
+ end
154
+ end
155
+ end