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,64 +1,64 @@
|
|
|
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 installutil_35
|
|
6
|
+
FluentCommandBuilder::InstallUtil::V35.create { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module InstallUtil
|
|
6
9
|
module V35
|
|
7
|
-
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
|
|
12
|
+
c = InstallUtil.new(b)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def installutil
|
|
17
|
+
FluentCommandBuilder::InstallUtil::V35.create { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class InstallUtil < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
20
|
+
def initialize(underlying_builder)
|
|
21
|
+
super underlying_builder
|
|
11
22
|
end
|
|
12
23
|
def help(assembly_path=nil)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
yield
|
|
24
|
+
b.append ' /help'
|
|
25
|
+
b.append " #{b.format assembly_path}" unless assembly_path.nil?
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def log_file(file_name=nil)
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
yield
|
|
30
|
+
b.append ' /logFile'
|
|
31
|
+
b.append "=#{b.format file_name}" unless file_name.nil?
|
|
32
|
+
yield b if block_given?
|
|
22
33
|
self
|
|
23
34
|
end
|
|
24
35
|
def assembly_strong_name(assembly_name)
|
|
25
|
-
|
|
26
|
-
yield
|
|
36
|
+
b.append " /assemblyName=#{b.format assembly_name}"
|
|
37
|
+
yield b if block_given?
|
|
27
38
|
self
|
|
28
39
|
end
|
|
29
40
|
def log_to_console(bool)
|
|
30
|
-
|
|
31
|
-
yield
|
|
41
|
+
b.append " /logToConsole=#{b.format bool}"
|
|
42
|
+
yield b if block_given?
|
|
32
43
|
self
|
|
33
44
|
end
|
|
34
45
|
def show_call_stack
|
|
35
|
-
|
|
36
|
-
yield
|
|
46
|
+
b.append ' /showCallStack'
|
|
47
|
+
yield b if block_given?
|
|
37
48
|
self
|
|
38
49
|
end
|
|
39
50
|
def uninstall
|
|
40
|
-
|
|
41
|
-
yield
|
|
51
|
+
b.append ' /uninstall'
|
|
52
|
+
yield b if block_given?
|
|
42
53
|
self
|
|
43
54
|
end
|
|
44
55
|
def assembly_file_name(assembly_file_name)
|
|
45
|
-
|
|
46
|
-
yield
|
|
56
|
+
b.append " #{b.format assembly_file_name}"
|
|
57
|
+
yield b if block_given?
|
|
47
58
|
self
|
|
48
59
|
end
|
|
49
60
|
end
|
|
50
|
-
|
|
51
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
52
|
-
command = InstallUtil.new builder
|
|
53
|
-
yield builder if block_given?
|
|
54
|
-
command
|
|
55
|
-
end
|
|
61
|
+
|
|
56
62
|
end
|
|
57
63
|
end
|
|
58
|
-
|
|
59
|
-
builder = CommandBuilder.new InstallUtil::V35::COMMAND_NAME
|
|
60
|
-
command = InstallUtil::V35::InstallUtil.new builder
|
|
61
|
-
yield builder if block_given?
|
|
62
|
-
command
|
|
63
|
-
end
|
|
64
|
-
end
|
|
64
|
+
end
|
|
@@ -1,70 +1,70 @@
|
|
|
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 installutil_40
|
|
6
|
+
FluentCommandBuilder::InstallUtil::V40.create { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module InstallUtil
|
|
6
9
|
module V40
|
|
7
|
-
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::InstallUtil::COMMAND_NAME
|
|
12
|
+
c = InstallUtil.new(b)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def installutil
|
|
17
|
+
FluentCommandBuilder::InstallUtil::V40.create { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class InstallUtil < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
20
|
+
def initialize(underlying_builder)
|
|
21
|
+
super underlying_builder
|
|
11
22
|
end
|
|
12
23
|
def help(assembly_path=nil)
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
yield
|
|
24
|
+
b.append ' /help'
|
|
25
|
+
b.append " #{b.format assembly_path}" unless assembly_path.nil?
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def assembly_strong_name(assembly_name)
|
|
19
|
-
|
|
20
|
-
yield
|
|
30
|
+
b.append " /assemblyName=#{b.format assembly_name}"
|
|
31
|
+
yield b if block_given?
|
|
21
32
|
self
|
|
22
33
|
end
|
|
23
34
|
def install_state_dir(directory_name=nil)
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
yield
|
|
35
|
+
b.append ' /installStateDir'
|
|
36
|
+
b.append "=#{b.format directory_name}" unless directory_name.nil?
|
|
37
|
+
yield b if block_given?
|
|
27
38
|
self
|
|
28
39
|
end
|
|
29
40
|
def log_file(file_name=nil)
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
yield
|
|
41
|
+
b.append ' /logFile'
|
|
42
|
+
b.append "=#{b.format file_name}" unless file_name.nil?
|
|
43
|
+
yield b if block_given?
|
|
33
44
|
self
|
|
34
45
|
end
|
|
35
46
|
def log_to_console(bool)
|
|
36
|
-
|
|
37
|
-
yield
|
|
47
|
+
b.append " /logToConsole=#{b.format bool}"
|
|
48
|
+
yield b if block_given?
|
|
38
49
|
self
|
|
39
50
|
end
|
|
40
51
|
def show_call_stack
|
|
41
|
-
|
|
42
|
-
yield
|
|
52
|
+
b.append ' /showCallStack'
|
|
53
|
+
yield b if block_given?
|
|
43
54
|
self
|
|
44
55
|
end
|
|
45
56
|
def uninstall
|
|
46
|
-
|
|
47
|
-
yield
|
|
57
|
+
b.append ' /uninstall'
|
|
58
|
+
yield b if block_given?
|
|
48
59
|
self
|
|
49
60
|
end
|
|
50
61
|
def assembly_file_name(assembly_file_name)
|
|
51
|
-
|
|
52
|
-
yield
|
|
62
|
+
b.append " #{b.format assembly_file_name}"
|
|
63
|
+
yield b if block_given?
|
|
53
64
|
self
|
|
54
65
|
end
|
|
55
66
|
end
|
|
56
|
-
|
|
57
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
58
|
-
command = InstallUtil.new builder
|
|
59
|
-
yield builder if block_given?
|
|
60
|
-
command
|
|
61
|
-
end
|
|
67
|
+
|
|
62
68
|
end
|
|
63
69
|
end
|
|
64
|
-
|
|
65
|
-
builder = CommandBuilder.new InstallUtil::V40::COMMAND_NAME
|
|
66
|
-
command = InstallUtil::V40::InstallUtil.new builder
|
|
67
|
-
yield builder if block_given?
|
|
68
|
-
command
|
|
69
|
-
end
|
|
70
|
-
end
|
|
70
|
+
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 msbuild(&block)
|
|
6
|
+
MSBuild.create &block
|
|
7
|
+
end
|
|
8
|
+
module MSBuild
|
|
9
|
+
COMMAND_NAME = 'MSBuild'
|
|
10
|
+
def self.create
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
|
|
12
|
+
c = version_module(MSBuild).create b
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -1,89 +1,89 @@
|
|
|
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 msbuild_20(project_file=nil)
|
|
6
|
+
FluentCommandBuilder::MSBuild::V20.create(project_file) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module MSBuild
|
|
6
9
|
module V20
|
|
7
|
-
|
|
10
|
+
def self.create(project_file=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
|
|
12
|
+
c = MSBuild.new(b, project_file)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def msbuild(project_file=nil)
|
|
17
|
+
FluentCommandBuilder::MSBuild::V20.create(project_file) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class MSBuild < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, project_file=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format project_file}" unless project_file.nil?
|
|
12
23
|
end
|
|
13
24
|
def help
|
|
14
|
-
|
|
15
|
-
yield
|
|
25
|
+
b.append ' /help'
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def no_logo
|
|
19
|
-
|
|
20
|
-
yield
|
|
30
|
+
b.append ' /noLogo'
|
|
31
|
+
yield b if block_given?
|
|
21
32
|
self
|
|
22
33
|
end
|
|
23
34
|
def version
|
|
24
|
-
|
|
25
|
-
yield
|
|
35
|
+
b.append ' /version'
|
|
36
|
+
yield b if block_given?
|
|
26
37
|
self
|
|
27
38
|
end
|
|
28
39
|
def file(file)
|
|
29
|
-
|
|
30
|
-
yield
|
|
40
|
+
b.append " @#{b.format file}"
|
|
41
|
+
yield b if block_given?
|
|
31
42
|
self
|
|
32
43
|
end
|
|
33
44
|
def no_auto_response
|
|
34
|
-
|
|
35
|
-
yield
|
|
45
|
+
b.append ' /noAutoResponse'
|
|
46
|
+
yield b if block_given?
|
|
36
47
|
self
|
|
37
48
|
end
|
|
38
49
|
def target(target)
|
|
39
|
-
|
|
40
|
-
yield
|
|
50
|
+
b.append " /target:#{b.format target, ';'}"
|
|
51
|
+
yield b if block_given?
|
|
41
52
|
self
|
|
42
53
|
end
|
|
43
54
|
def property(property)
|
|
44
|
-
|
|
45
|
-
yield
|
|
55
|
+
b.append " /property:#{b.format property, ';', '='}"
|
|
56
|
+
yield b if block_given?
|
|
46
57
|
self
|
|
47
58
|
end
|
|
48
59
|
def logger(logger)
|
|
49
|
-
|
|
50
|
-
yield
|
|
60
|
+
b.append " /logger:#{b.format logger}"
|
|
61
|
+
yield b if block_given?
|
|
51
62
|
self
|
|
52
63
|
end
|
|
53
64
|
def console_logger_parameters(parameters)
|
|
54
|
-
|
|
55
|
-
yield
|
|
65
|
+
b.append " /consoleLoggerParameters:#{b.format parameters}"
|
|
66
|
+
yield b if block_given?
|
|
56
67
|
self
|
|
57
68
|
end
|
|
58
69
|
def verbosity(level)
|
|
59
|
-
|
|
60
|
-
yield
|
|
70
|
+
b.append " /verbosity:#{b.format level}"
|
|
71
|
+
yield b if block_given?
|
|
61
72
|
self
|
|
62
73
|
end
|
|
63
74
|
def no_console_logger
|
|
64
|
-
|
|
65
|
-
yield
|
|
75
|
+
b.append ' /noConsoleLogger'
|
|
76
|
+
yield b if block_given?
|
|
66
77
|
self
|
|
67
78
|
end
|
|
68
79
|
def validate(schema=nil)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
yield
|
|
80
|
+
b.append ' /validate'
|
|
81
|
+
b.append ":#{b.format schema}" unless schema.nil?
|
|
82
|
+
yield b if block_given?
|
|
72
83
|
self
|
|
73
84
|
end
|
|
74
85
|
end
|
|
75
|
-
|
|
76
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
77
|
-
command = MSBuild.new builder, project_file
|
|
78
|
-
yield builder if block_given?
|
|
79
|
-
command
|
|
80
|
-
end
|
|
86
|
+
|
|
81
87
|
end
|
|
82
88
|
end
|
|
83
|
-
|
|
84
|
-
builder = CommandBuilder.new MSBuild::V20::COMMAND_NAME
|
|
85
|
-
command = MSBuild::V20::MSBuild.new builder, project_file
|
|
86
|
-
yield builder if block_given?
|
|
87
|
-
command
|
|
88
|
-
end
|
|
89
|
-
end
|
|
89
|
+
end
|
|
@@ -1,89 +1,89 @@
|
|
|
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 msbuild_30(project_file=nil)
|
|
6
|
+
FluentCommandBuilder::MSBuild::V30.create(project_file) { |b| yield b if block_given? }
|
|
7
|
+
end
|
|
5
8
|
module MSBuild
|
|
6
9
|
module V30
|
|
7
|
-
|
|
10
|
+
def self.create(project_file=nil)
|
|
11
|
+
b = UnderlyingBuilder.new FluentCommandBuilder::MSBuild::COMMAND_NAME
|
|
12
|
+
c = MSBuild.new(b, project_file)
|
|
13
|
+
yield b if block_given?
|
|
14
|
+
c
|
|
15
|
+
end
|
|
16
|
+
def msbuild(project_file=nil)
|
|
17
|
+
FluentCommandBuilder::MSBuild::V30.create(project_file) { |b| yield b if block_given? }
|
|
18
|
+
end
|
|
8
19
|
class MSBuild < CommandBase
|
|
9
|
-
def initialize(
|
|
10
|
-
super
|
|
11
|
-
|
|
20
|
+
def initialize(underlying_builder, project_file=nil)
|
|
21
|
+
super underlying_builder
|
|
22
|
+
b.append " #{b.format project_file}" unless project_file.nil?
|
|
12
23
|
end
|
|
13
24
|
def help
|
|
14
|
-
|
|
15
|
-
yield
|
|
25
|
+
b.append ' /help'
|
|
26
|
+
yield b if block_given?
|
|
16
27
|
self
|
|
17
28
|
end
|
|
18
29
|
def no_logo
|
|
19
|
-
|
|
20
|
-
yield
|
|
30
|
+
b.append ' /noLogo'
|
|
31
|
+
yield b if block_given?
|
|
21
32
|
self
|
|
22
33
|
end
|
|
23
34
|
def version
|
|
24
|
-
|
|
25
|
-
yield
|
|
35
|
+
b.append ' /version'
|
|
36
|
+
yield b if block_given?
|
|
26
37
|
self
|
|
27
38
|
end
|
|
28
39
|
def file(file)
|
|
29
|
-
|
|
30
|
-
yield
|
|
40
|
+
b.append " @#{b.format file}"
|
|
41
|
+
yield b if block_given?
|
|
31
42
|
self
|
|
32
43
|
end
|
|
33
44
|
def no_auto_response
|
|
34
|
-
|
|
35
|
-
yield
|
|
45
|
+
b.append ' /noAutoResponse'
|
|
46
|
+
yield b if block_given?
|
|
36
47
|
self
|
|
37
48
|
end
|
|
38
49
|
def target(target)
|
|
39
|
-
|
|
40
|
-
yield
|
|
50
|
+
b.append " /target:#{b.format target, ';'}"
|
|
51
|
+
yield b if block_given?
|
|
41
52
|
self
|
|
42
53
|
end
|
|
43
54
|
def property(property)
|
|
44
|
-
|
|
45
|
-
yield
|
|
55
|
+
b.append " /property:#{b.format property, ';', '='}"
|
|
56
|
+
yield b if block_given?
|
|
46
57
|
self
|
|
47
58
|
end
|
|
48
59
|
def logger(logger)
|
|
49
|
-
|
|
50
|
-
yield
|
|
60
|
+
b.append " /logger:#{b.format logger}"
|
|
61
|
+
yield b if block_given?
|
|
51
62
|
self
|
|
52
63
|
end
|
|
53
64
|
def console_logger_parameters(parameters)
|
|
54
|
-
|
|
55
|
-
yield
|
|
65
|
+
b.append " /consoleLoggerParameters:#{b.format parameters}"
|
|
66
|
+
yield b if block_given?
|
|
56
67
|
self
|
|
57
68
|
end
|
|
58
69
|
def verbosity(level)
|
|
59
|
-
|
|
60
|
-
yield
|
|
70
|
+
b.append " /verbosity:#{b.format level}"
|
|
71
|
+
yield b if block_given?
|
|
61
72
|
self
|
|
62
73
|
end
|
|
63
74
|
def no_console_logger
|
|
64
|
-
|
|
65
|
-
yield
|
|
75
|
+
b.append ' /noConsoleLogger'
|
|
76
|
+
yield b if block_given?
|
|
66
77
|
self
|
|
67
78
|
end
|
|
68
79
|
def validate(schema=nil)
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
yield
|
|
80
|
+
b.append ' /validate'
|
|
81
|
+
b.append ":#{b.format schema}" unless schema.nil?
|
|
82
|
+
yield b if block_given?
|
|
72
83
|
self
|
|
73
84
|
end
|
|
74
85
|
end
|
|
75
|
-
|
|
76
|
-
builder = CommandBuilder.new COMMAND_NAME
|
|
77
|
-
command = MSBuild.new builder, project_file
|
|
78
|
-
yield builder if block_given?
|
|
79
|
-
command
|
|
80
|
-
end
|
|
86
|
+
|
|
81
87
|
end
|
|
82
88
|
end
|
|
83
|
-
|
|
84
|
-
builder = CommandBuilder.new MSBuild::V30::COMMAND_NAME
|
|
85
|
-
command = MSBuild::V30::MSBuild.new builder, project_file
|
|
86
|
-
yield builder if block_given?
|
|
87
|
-
command
|
|
88
|
-
end
|
|
89
|
-
end
|
|
89
|
+
end
|