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
|
@@ -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 aspnet_compiler(&block)
|
|
6
|
+
AspnetCompiler.create &block
|
|
7
|
+
end
|
|
8
|
+
module AspnetCompiler
|
|
9
|
+
COMMAND_NAME = 'aspnet_compiler'
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME
|
|
12
|
+
c = version_module(AspnetCompiler).create b
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -1,98 +1,98 @@
|
|
|
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 aspnet_compiler_20(target_dir=nil)
|
|
6
|
+
FluentCommandBuilder::AspnetCompiler::V20.create(target_dir) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module AspnetCompiler
|
|
6
9
|
module V20
|
|
7
|
-
|
|
10
|
+
def self.create(target_dir=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME
|
|
12
|
+
c = AspnetCompiler.new(b, target_dir)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def aspnet_compiler(target_dir=nil)
|
|
17
|
+
FluentCommandBuilder::AspnetCompiler::V20.create(target_dir) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class AspnetCompiler < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, target_dir=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format target_dir}" unless target_dir.nil?
|
|
12
23
|
end
|
|
13
24
|
def metabase_path(metabase_path)
|
|
14
|
-
|
|
15
|
-
yield
|
|
25
|
+
b.append " -m #{b.format metabase_path}"
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def virtual_path(virtual_path)
|
|
19
|
-
|
|
20
|
-
yield
|
|
30
|
+
b.append " -v #{b.format virtual_path}"
|
|
31
|
+
yield b if block_given?
|
|
21
32
|
self
|
|
22
33
|
end
|
|
23
34
|
def physical_path(physical_path)
|
|
24
|
-
|
|
25
|
-
yield
|
|
35
|
+
b.append " -p #{b.format physical_path}"
|
|
36
|
+
yield b if block_given?
|
|
26
37
|
self
|
|
27
38
|
end
|
|
28
39
|
def allow_subsequent_updates
|
|
29
|
-
|
|
30
|
-
yield
|
|
40
|
+
b.append ' -u'
|
|
41
|
+
yield b if block_given?
|
|
31
42
|
self
|
|
32
43
|
end
|
|
33
44
|
def force_overwrite_files
|
|
34
|
-
|
|
35
|
-
yield
|
|
45
|
+
b.append ' -f'
|
|
46
|
+
yield b if block_given?
|
|
36
47
|
self
|
|
37
48
|
end
|
|
38
49
|
def force_debug_output
|
|
39
|
-
|
|
40
|
-
yield
|
|
50
|
+
b.append ' -d'
|
|
51
|
+
yield b if block_given?
|
|
41
52
|
self
|
|
42
53
|
end
|
|
43
54
|
def fixed_names
|
|
44
|
-
|
|
45
|
-
yield
|
|
55
|
+
b.append ' -fixedNames'
|
|
56
|
+
yield b if block_given?
|
|
46
57
|
self
|
|
47
58
|
end
|
|
48
59
|
def full_rebuild
|
|
49
|
-
|
|
50
|
-
yield
|
|
60
|
+
b.append ' -c'
|
|
61
|
+
yield b if block_given?
|
|
51
62
|
self
|
|
52
63
|
end
|
|
53
64
|
def error_stack
|
|
54
|
-
|
|
55
|
-
yield
|
|
65
|
+
b.append ' -errorStack'
|
|
66
|
+
yield b if block_given?
|
|
56
67
|
self
|
|
57
68
|
end
|
|
58
69
|
def no_logo
|
|
59
|
-
|
|
60
|
-
yield
|
|
70
|
+
b.append ' -noLogo'
|
|
71
|
+
yield b if block_given?
|
|
61
72
|
self
|
|
62
73
|
end
|
|
63
74
|
def key_file(file)
|
|
64
|
-
|
|
65
|
-
yield
|
|
75
|
+
b.append " -keyFile #{b.format file}"
|
|
76
|
+
yield b if block_given?
|
|
66
77
|
self
|
|
67
78
|
end
|
|
68
79
|
def key_container(container)
|
|
69
|
-
|
|
70
|
-
yield
|
|
80
|
+
b.append " -keyContainer #{b.format container}"
|
|
81
|
+
yield b if block_given?
|
|
71
82
|
self
|
|
72
83
|
end
|
|
73
84
|
def aptca
|
|
74
|
-
|
|
75
|
-
yield
|
|
85
|
+
b.append ' -aptca'
|
|
86
|
+
yield b if block_given?
|
|
76
87
|
self
|
|
77
88
|
end
|
|
78
89
|
def delay_sign
|
|
79
|
-
|
|
80
|
-
yield
|
|
90
|
+
b.append ' -delaySign'
|
|
91
|
+
yield b if block_given?
|
|
81
92
|
self
|
|
82
93
|
end
|
|
83
94
|
end
|
|
84
|
-
|
|
85
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
86
|
-
command = AspnetCompiler.new builder, target_dir
|
|
87
|
-
yield builder if block_given?
|
|
88
|
-
command
|
|
89
|
-
end
|
|
95
|
+
|
|
90
96
|
end
|
|
91
97
|
end
|
|
92
|
-
|
|
93
|
-
builder = CommandBuilder.new AspnetCompiler::V20::COMMAND_NAME
|
|
94
|
-
command = AspnetCompiler::V20::AspnetCompiler.new builder, target_dir
|
|
95
|
-
yield builder if block_given?
|
|
96
|
-
command
|
|
97
|
-
end
|
|
98
|
-
end
|
|
98
|
+
end
|
|
@@ -1,98 +1,98 @@
|
|
|
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 aspnet_compiler_40(target_dir=nil)
|
|
6
|
+
FluentCommandBuilder::AspnetCompiler::V40.create(target_dir) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module AspnetCompiler
|
|
6
9
|
module V40
|
|
7
|
-
|
|
10
|
+
def self.create(target_dir=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::AspnetCompiler::COMMAND_NAME
|
|
12
|
+
c = AspnetCompiler.new(b, target_dir)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def aspnet_compiler(target_dir=nil)
|
|
17
|
+
FluentCommandBuilder::AspnetCompiler::V40.create(target_dir) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class AspnetCompiler < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, target_dir=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format target_dir}" unless target_dir.nil?
|
|
12
23
|
end
|
|
13
24
|
def metabase_path(metabase_path)
|
|
14
|
-
|
|
15
|
-
yield
|
|
25
|
+
b.append " -m #{b.format metabase_path}"
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def virtual_path(virtual_path)
|
|
19
|
-
|
|
20
|
-
yield
|
|
30
|
+
b.append " -v #{b.format virtual_path}"
|
|
31
|
+
yield b if block_given?
|
|
21
32
|
self
|
|
22
33
|
end
|
|
23
34
|
def physical_path(physical_path)
|
|
24
|
-
|
|
25
|
-
yield
|
|
35
|
+
b.append " -p #{b.format physical_path}"
|
|
36
|
+
yield b if block_given?
|
|
26
37
|
self
|
|
27
38
|
end
|
|
28
39
|
def allow_subsequent_updates
|
|
29
|
-
|
|
30
|
-
yield
|
|
40
|
+
b.append ' -u'
|
|
41
|
+
yield b if block_given?
|
|
31
42
|
self
|
|
32
43
|
end
|
|
33
44
|
def force_overwrite_files
|
|
34
|
-
|
|
35
|
-
yield
|
|
45
|
+
b.append ' -f'
|
|
46
|
+
yield b if block_given?
|
|
36
47
|
self
|
|
37
48
|
end
|
|
38
49
|
def force_debug_output
|
|
39
|
-
|
|
40
|
-
yield
|
|
50
|
+
b.append ' -d'
|
|
51
|
+
yield b if block_given?
|
|
41
52
|
self
|
|
42
53
|
end
|
|
43
54
|
def fixed_names
|
|
44
|
-
|
|
45
|
-
yield
|
|
55
|
+
b.append ' -fixedNames'
|
|
56
|
+
yield b if block_given?
|
|
46
57
|
self
|
|
47
58
|
end
|
|
48
59
|
def full_rebuild
|
|
49
|
-
|
|
50
|
-
yield
|
|
60
|
+
b.append ' -c'
|
|
61
|
+
yield b if block_given?
|
|
51
62
|
self
|
|
52
63
|
end
|
|
53
64
|
def error_stack
|
|
54
|
-
|
|
55
|
-
yield
|
|
65
|
+
b.append ' -errorStack'
|
|
66
|
+
yield b if block_given?
|
|
56
67
|
self
|
|
57
68
|
end
|
|
58
69
|
def no_logo
|
|
59
|
-
|
|
60
|
-
yield
|
|
70
|
+
b.append ' -noLogo'
|
|
71
|
+
yield b if block_given?
|
|
61
72
|
self
|
|
62
73
|
end
|
|
63
74
|
def key_file(file)
|
|
64
|
-
|
|
65
|
-
yield
|
|
75
|
+
b.append " -keyFile #{b.format file}"
|
|
76
|
+
yield b if block_given?
|
|
66
77
|
self
|
|
67
78
|
end
|
|
68
79
|
def key_container(container)
|
|
69
|
-
|
|
70
|
-
yield
|
|
80
|
+
b.append " -keyContainer #{b.format container}"
|
|
81
|
+
yield b if block_given?
|
|
71
82
|
self
|
|
72
83
|
end
|
|
73
84
|
def aptca
|
|
74
|
-
|
|
75
|
-
yield
|
|
85
|
+
b.append ' -aptca'
|
|
86
|
+
yield b if block_given?
|
|
76
87
|
self
|
|
77
88
|
end
|
|
78
89
|
def delay_sign
|
|
79
|
-
|
|
80
|
-
yield
|
|
90
|
+
b.append ' -delaySign'
|
|
91
|
+
yield b if block_given?
|
|
81
92
|
self
|
|
82
93
|
end
|
|
83
94
|
end
|
|
84
|
-
|
|
85
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
86
|
-
command = AspnetCompiler.new builder, target_dir
|
|
87
|
-
yield builder if block_given?
|
|
88
|
-
command
|
|
89
|
-
end
|
|
95
|
+
|
|
90
96
|
end
|
|
91
97
|
end
|
|
92
|
-
|
|
93
|
-
builder = CommandBuilder.new AspnetCompiler::V40::COMMAND_NAME
|
|
94
|
-
command = AspnetCompiler::V40::AspnetCompiler.new builder, target_dir
|
|
95
|
-
yield builder if block_given?
|
|
96
|
-
command
|
|
97
|
-
end
|
|
98
|
-
end
|
|
98
|
+
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 bundle(&block)
|
|
6
|
+
Bundle.create &block
|
|
7
|
+
end
|
|
8
|
+
module Bundle
|
|
9
|
+
COMMAND_NAME = 'bundle'
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::Bundle::COMMAND_NAME
|
|
12
|
+
c = version_module(Bundle).create b
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|