fluent_command_builder 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fluent_command_builder/command_builder.rb +2 -2
- data/lib/fluent_command_builder/command_executors/backticks_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/dry_run_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/rake_sh_executor.rb +1 -1
- data/lib/fluent_command_builder/command_executors/system_executor.rb +1 -1
- data/lib/fluent_command_builder/execution_context.rb +2 -2
- data/lib/fluent_command_builder/internal/argument_formatter.rb +1 -1
- data/lib/fluent_command_builder/internal/command_builder_config.rb +7 -10
- data/lib/fluent_command_builder/internal/path.rb +9 -3
- data/lib/fluent_command_builder/internal/path_validator.rb +4 -5
- data/lib/fluent_command_builder/internal/underlying_builder.rb +3 -3
- data/lib/fluent_command_builder/version_validator.rb +11 -6
- metadata +55 -90
- data/lib/fluent_command_builder/command_builders/appcfg_python.rb +0 -19
- data/lib/fluent_command_builder/command_builders/appcfg_python_16.rb +0 -2613
- data/lib/fluent_command_builder/command_builders/appcfg_python_17.rb +0 -2603
- data/lib/fluent_command_builder/command_builders/aspnet_compiler.rb +0 -19
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_20.rb +0 -103
- data/lib/fluent_command_builder/command_builders/aspnet_compiler_40.rb +0 -103
- data/lib/fluent_command_builder/command_builders/bundle.rb +0 -19
- data/lib/fluent_command_builder/command_builders/bundle_11.rb +0 -321
- data/lib/fluent_command_builder/command_builders/bundle_12.rb +0 -345
- data/lib/fluent_command_builder/command_builders/cucumber.rb +0 -19
- data/lib/fluent_command_builder/command_builders/cucumber_11.rb +0 -178
- data/lib/fluent_command_builder/command_builders/cucumber_12.rb +0 -183
- data/lib/fluent_command_builder/command_builders/dev_appserver_python.rb +0 -19
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_16.rb +0 -208
- data/lib/fluent_command_builder/command_builders/dev_appserver_python_17.rb +0 -208
- data/lib/fluent_command_builder/command_builders/dotcover.rb +0 -19
- data/lib/fluent_command_builder/command_builders/dotcover_10.rb +0 -69
- data/lib/fluent_command_builder/command_builders/dotcover_11.rb +0 -299
- data/lib/fluent_command_builder/command_builders/dotcover_12.rb +0 -299
- data/lib/fluent_command_builder/command_builders/dotcover_20.rb +0 -309
- data/lib/fluent_command_builder/command_builders/dotcover_21.rb +0 -309
- data/lib/fluent_command_builder/command_builders/dotcover_22.rb +0 -309
- data/lib/fluent_command_builder/command_builders/fastlinkchecker.rb +0 -19
- data/lib/fluent_command_builder/command_builders/fastlinkchecker_21.rb +0 -263
- data/lib/fluent_command_builder/command_builders/installutil.rb +0 -19
- data/lib/fluent_command_builder/command_builders/installutil_11.rb +0 -64
- data/lib/fluent_command_builder/command_builders/installutil_20.rb +0 -69
- data/lib/fluent_command_builder/command_builders/installutil_35.rb +0 -69
- data/lib/fluent_command_builder/command_builders/installutil_40.rb +0 -75
- data/lib/fluent_command_builder/command_builders/msbuild.rb +0 -19
- data/lib/fluent_command_builder/command_builders/msbuild_20.rb +0 -94
- data/lib/fluent_command_builder/command_builders/msbuild_30.rb +0 -94
- data/lib/fluent_command_builder/command_builders/msbuild_35.rb +0 -134
- data/lib/fluent_command_builder/command_builders/msbuild_40.rb +0 -137
- data/lib/fluent_command_builder/command_builders/msdeploy.rb +0 -19
- data/lib/fluent_command_builder/command_builders/msdeploy_71.rb +0 -182
- data/lib/fluent_command_builder/command_builders/mstest.rb +0 -19
- data/lib/fluent_command_builder/command_builders/mstest_100.rb +0 -132
- data/lib/fluent_command_builder/command_builders/mstest_80.rb +0 -112
- data/lib/fluent_command_builder/command_builders/mstest_90.rb +0 -117
- data/lib/fluent_command_builder/command_builders/netsh.rb +0 -19
- data/lib/fluent_command_builder/command_builders/netsh_61.rb +0 -413
- data/lib/fluent_command_builder/command_builders/nuget.rb +0 -19
- data/lib/fluent_command_builder/command_builders/nuget_20.rb +0 -437
- data/lib/fluent_command_builder/command_builders/nuget_21.rb +0 -533
- data/lib/fluent_command_builder/command_builders/nunit.rb +0 -19
- data/lib/fluent_command_builder/command_builders/nunit_25.rb +0 -153
- data/lib/fluent_command_builder/command_builders/nunit_26.rb +0 -193
- data/lib/fluent_command_builder/command_builders/rake.rb +0 -19
- data/lib/fluent_command_builder/command_builders/rake_09.rb +0 -156
- data/lib/fluent_command_builder/command_builders/rake_100.rb +0 -194
- data/lib/fluent_command_builder/command_builders/schtasks.rb +0 -19
- data/lib/fluent_command_builder/command_builders/schtasks_61.rb +0 -353
- data/lib/fluent_command_builder/command_builders/security_osx.rb +0 -19
- data/lib/fluent_command_builder/command_builders/security_osx_107.rb +0 -188
- data/lib/fluent_command_builder/command_builders/security_osx_108.rb +0 -188
- data/lib/fluent_command_builder/command_builders/sevenzip.rb +0 -19
- data/lib/fluent_command_builder/command_builders/sevenzip_920.rb +0 -523
- data/lib/fluent_command_builder/command_builders/simian.rb +0 -19
- data/lib/fluent_command_builder/command_builders/simian_23.rb +0 -147
- data/lib/fluent_command_builder/command_builders/team_foundation.rb +0 -19
- data/lib/fluent_command_builder/command_builders/team_foundation_100.rb +0 -2160
- data/lib/fluent_command_builder/command_builders/team_foundation_tee.rb +0 -19
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_100.rb +0 -1885
- data/lib/fluent_command_builder/command_builders/team_foundation_tee_101.rb +0 -2003
- data/lib/fluent_command_builder/command_builders/xcodebuild.rb +0 -19
- data/lib/fluent_command_builder/command_builders/xcodebuild_43.rb +0 -276
- data/lib/fluent_command_builder/command_builders/xcodebuild_44.rb +0 -326
- data/lib/fluent_command_builder/command_builders/xcodebuild_45.rb +0 -331
- data/lib/fluent_command_builder/internal/path_finder.rb +0 -20
- data/lib/fluent_command_builder/internal/path_finders/unix_path_finder.rb +0 -13
- data/lib/fluent_command_builder/internal/path_finders/windows_path_finder.rb +0 -14
- data/lib/fluent_command_builder/version_detectors.rb +0 -1
- data/lib/fluent_command_builder/version_detectors/appengine_python_version_detector.rb +0 -23
- data/lib/fluent_command_builder/version_detectors/default_version_detector.rb +0 -35
- data/lib/fluent_command_builder/version_detectors/dot_net_framework_version_detector.rb +0 -24
- data/lib/fluent_command_builder/version_detectors/osx_version_detector.rb +0 -19
- data/lib/fluent_command_builder/version_detectors/standard_version_detector.rb +0 -30
- data/lib/fluent_command_builder/version_detectors/windows_version_detector.rb +0 -12
@@ -1,19 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../version_detectors')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
5
|
-
|
6
|
-
module FluentCommandBuilder
|
7
|
-
module InstallUtil
|
8
|
-
COMMAND_NAME = 'installUtil'
|
9
|
-
def self.version_detector
|
10
|
-
@version_detector ||= StandardVersionDetector.new COMMAND_NAME
|
11
|
-
end
|
12
|
-
def self.version_detector=(value)
|
13
|
-
@version_detector = value
|
14
|
-
end
|
15
|
-
def self.version(path=nil)
|
16
|
-
self.version_detector.version path
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,64 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module InstallUtil
|
9
|
-
module V11
|
10
|
-
VERSION = '1.1'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::InstallUtil::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::InstallUtil.version_detector
|
13
|
-
def configure_installutil
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def installutil
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = InstallUtil.new(b)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class InstallUtil < CommandBase
|
25
|
-
def initialize(underlying_builder)
|
26
|
-
super underlying_builder
|
27
|
-
end
|
28
|
-
def help(assembly_path=nil)
|
29
|
-
@b.append ' /help'
|
30
|
-
@b.append " #{@b.format assembly_path}" unless assembly_path.nil?
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def log_file(file_name=nil)
|
35
|
-
@b.append ' /logFile'
|
36
|
-
@b.append "=#{@b.format file_name}" unless file_name.nil?
|
37
|
-
yield @b if block_given?
|
38
|
-
self
|
39
|
-
end
|
40
|
-
def log_to_console(bool)
|
41
|
-
@b.append " /logToConsole=#{@b.format bool}"
|
42
|
-
yield @b if block_given?
|
43
|
-
self
|
44
|
-
end
|
45
|
-
def show_call_stack
|
46
|
-
@b.append ' /showCallStack'
|
47
|
-
yield @b if block_given?
|
48
|
-
self
|
49
|
-
end
|
50
|
-
def uninstall
|
51
|
-
@b.append ' /uninstall'
|
52
|
-
yield @b if block_given?
|
53
|
-
self
|
54
|
-
end
|
55
|
-
def assembly_file_name(assembly_file_name)
|
56
|
-
@b.append " #{@b.format assembly_file_name}"
|
57
|
-
yield @b if block_given?
|
58
|
-
self
|
59
|
-
end
|
60
|
-
end
|
61
|
-
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module InstallUtil
|
9
|
-
module V20
|
10
|
-
VERSION = '2.0'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::InstallUtil::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::InstallUtil.version_detector
|
13
|
-
def configure_installutil
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def installutil
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = InstallUtil.new(b)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class InstallUtil < CommandBase
|
25
|
-
def initialize(underlying_builder)
|
26
|
-
super underlying_builder
|
27
|
-
end
|
28
|
-
def help(assembly_path=nil)
|
29
|
-
@b.append ' /help'
|
30
|
-
@b.append " #{@b.format assembly_path}" unless assembly_path.nil?
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def log_file(file_name=nil)
|
35
|
-
@b.append ' /logFile'
|
36
|
-
@b.append "=#{@b.format file_name}" unless file_name.nil?
|
37
|
-
yield @b if block_given?
|
38
|
-
self
|
39
|
-
end
|
40
|
-
def assembly_strong_name(assembly_name)
|
41
|
-
@b.append " /assemblyName=#{@b.format assembly_name}"
|
42
|
-
yield @b if block_given?
|
43
|
-
self
|
44
|
-
end
|
45
|
-
def log_to_console(bool)
|
46
|
-
@b.append " /logToConsole=#{@b.format bool}"
|
47
|
-
yield @b if block_given?
|
48
|
-
self
|
49
|
-
end
|
50
|
-
def show_call_stack
|
51
|
-
@b.append ' /showCallStack'
|
52
|
-
yield @b if block_given?
|
53
|
-
self
|
54
|
-
end
|
55
|
-
def uninstall
|
56
|
-
@b.append ' /uninstall'
|
57
|
-
yield @b if block_given?
|
58
|
-
self
|
59
|
-
end
|
60
|
-
def assembly_file_name(assembly_file_name)
|
61
|
-
@b.append " #{@b.format assembly_file_name}"
|
62
|
-
yield @b if block_given?
|
63
|
-
self
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module InstallUtil
|
9
|
-
module V35
|
10
|
-
VERSION = '3.5'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::InstallUtil::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::InstallUtil.version_detector
|
13
|
-
def configure_installutil
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def installutil
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = InstallUtil.new(b)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class InstallUtil < CommandBase
|
25
|
-
def initialize(underlying_builder)
|
26
|
-
super underlying_builder
|
27
|
-
end
|
28
|
-
def help(assembly_path=nil)
|
29
|
-
@b.append ' /help'
|
30
|
-
@b.append " #{@b.format assembly_path}" unless assembly_path.nil?
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def log_file(file_name=nil)
|
35
|
-
@b.append ' /logFile'
|
36
|
-
@b.append "=#{@b.format file_name}" unless file_name.nil?
|
37
|
-
yield @b if block_given?
|
38
|
-
self
|
39
|
-
end
|
40
|
-
def assembly_strong_name(assembly_name)
|
41
|
-
@b.append " /assemblyName=#{@b.format assembly_name}"
|
42
|
-
yield @b if block_given?
|
43
|
-
self
|
44
|
-
end
|
45
|
-
def log_to_console(bool)
|
46
|
-
@b.append " /logToConsole=#{@b.format bool}"
|
47
|
-
yield @b if block_given?
|
48
|
-
self
|
49
|
-
end
|
50
|
-
def show_call_stack
|
51
|
-
@b.append ' /showCallStack'
|
52
|
-
yield @b if block_given?
|
53
|
-
self
|
54
|
-
end
|
55
|
-
def uninstall
|
56
|
-
@b.append ' /uninstall'
|
57
|
-
yield @b if block_given?
|
58
|
-
self
|
59
|
-
end
|
60
|
-
def assembly_file_name(assembly_file_name)
|
61
|
-
@b.append " #{@b.format assembly_file_name}"
|
62
|
-
yield @b if block_given?
|
63
|
-
self
|
64
|
-
end
|
65
|
-
end
|
66
|
-
|
67
|
-
end
|
68
|
-
end
|
69
|
-
end
|
@@ -1,75 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module InstallUtil
|
9
|
-
module V40
|
10
|
-
VERSION = '4.0'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::InstallUtil::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::InstallUtil.version_detector
|
13
|
-
def configure_installutil
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def installutil
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = InstallUtil.new(b)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class InstallUtil < CommandBase
|
25
|
-
def initialize(underlying_builder)
|
26
|
-
super underlying_builder
|
27
|
-
end
|
28
|
-
def help(assembly_path=nil)
|
29
|
-
@b.append ' /help'
|
30
|
-
@b.append " #{@b.format assembly_path}" unless assembly_path.nil?
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def assembly_strong_name(assembly_name)
|
35
|
-
@b.append " /assemblyName=#{@b.format assembly_name}"
|
36
|
-
yield @b if block_given?
|
37
|
-
self
|
38
|
-
end
|
39
|
-
def install_state_dir(directory_name=nil)
|
40
|
-
@b.append ' /installStateDir'
|
41
|
-
@b.append "=#{@b.format directory_name}" unless directory_name.nil?
|
42
|
-
yield @b if block_given?
|
43
|
-
self
|
44
|
-
end
|
45
|
-
def log_file(file_name=nil)
|
46
|
-
@b.append ' /logFile'
|
47
|
-
@b.append "=#{@b.format file_name}" unless file_name.nil?
|
48
|
-
yield @b if block_given?
|
49
|
-
self
|
50
|
-
end
|
51
|
-
def log_to_console(bool)
|
52
|
-
@b.append " /logToConsole=#{@b.format bool}"
|
53
|
-
yield @b if block_given?
|
54
|
-
self
|
55
|
-
end
|
56
|
-
def show_call_stack
|
57
|
-
@b.append ' /showCallStack'
|
58
|
-
yield @b if block_given?
|
59
|
-
self
|
60
|
-
end
|
61
|
-
def uninstall
|
62
|
-
@b.append ' /uninstall'
|
63
|
-
yield @b if block_given?
|
64
|
-
self
|
65
|
-
end
|
66
|
-
def assembly_file_name(assembly_file_name)
|
67
|
-
@b.append " #{@b.format assembly_file_name}"
|
68
|
-
yield @b if block_given?
|
69
|
-
self
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../version_detectors')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
5
|
-
|
6
|
-
module FluentCommandBuilder
|
7
|
-
module MSBuild
|
8
|
-
COMMAND_NAME = 'MSBuild'
|
9
|
-
def self.version_detector
|
10
|
-
@version_detector ||= StandardVersionDetector.new COMMAND_NAME, '/version'
|
11
|
-
end
|
12
|
-
def self.version_detector=(value)
|
13
|
-
@version_detector = value
|
14
|
-
end
|
15
|
-
def self.version(path=nil)
|
16
|
-
self.version_detector.version path
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
@@ -1,94 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module MSBuild
|
9
|
-
module V20
|
10
|
-
VERSION = '2.0'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::MSBuild::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::MSBuild.version_detector
|
13
|
-
def configure_msbuild
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def msbuild(project_file=nil)
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = MSBuild.new(b, project_file)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class MSBuild < CommandBase
|
25
|
-
def initialize(underlying_builder, project_file=nil)
|
26
|
-
super underlying_builder
|
27
|
-
@b.append " #{@b.format project_file}" unless project_file.nil?
|
28
|
-
end
|
29
|
-
def help
|
30
|
-
@b.append ' /help'
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def no_logo
|
35
|
-
@b.append ' /noLogo'
|
36
|
-
yield @b if block_given?
|
37
|
-
self
|
38
|
-
end
|
39
|
-
def version
|
40
|
-
@b.append ' /version'
|
41
|
-
yield @b if block_given?
|
42
|
-
self
|
43
|
-
end
|
44
|
-
def file(file)
|
45
|
-
@b.append " @#{@b.format file}"
|
46
|
-
yield @b if block_given?
|
47
|
-
self
|
48
|
-
end
|
49
|
-
def no_auto_response
|
50
|
-
@b.append ' /noAutoResponse'
|
51
|
-
yield @b if block_given?
|
52
|
-
self
|
53
|
-
end
|
54
|
-
def target(target)
|
55
|
-
@b.append " /target:#{@b.format target, ';'}"
|
56
|
-
yield @b if block_given?
|
57
|
-
self
|
58
|
-
end
|
59
|
-
def property(property)
|
60
|
-
@b.append " /property:#{@b.format property, ';', '='}"
|
61
|
-
yield @b if block_given?
|
62
|
-
self
|
63
|
-
end
|
64
|
-
def logger(logger)
|
65
|
-
@b.append " /logger:#{@b.format logger}"
|
66
|
-
yield @b if block_given?
|
67
|
-
self
|
68
|
-
end
|
69
|
-
def console_logger_parameters(parameters)
|
70
|
-
@b.append " /consoleLoggerParameters:#{@b.format parameters}"
|
71
|
-
yield @b if block_given?
|
72
|
-
self
|
73
|
-
end
|
74
|
-
def verbosity(level)
|
75
|
-
@b.append " /verbosity:#{@b.format level}"
|
76
|
-
yield @b if block_given?
|
77
|
-
self
|
78
|
-
end
|
79
|
-
def no_console_logger
|
80
|
-
@b.append ' /noConsoleLogger'
|
81
|
-
yield @b if block_given?
|
82
|
-
self
|
83
|
-
end
|
84
|
-
def validate(schema=nil)
|
85
|
-
@b.append ' /validate'
|
86
|
-
@b.append ":#{@b.format schema}" unless schema.nil?
|
87
|
-
yield @b if block_given?
|
88
|
-
self
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
@@ -1,94 +0,0 @@
|
|
1
|
-
# Generated code. Do not modify.
|
2
|
-
|
3
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_base')
|
4
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/command_builder_config')
|
5
|
-
require File.expand_path(File.dirname(__FILE__) + '/../internal/underlying_builder')
|
6
|
-
|
7
|
-
module FluentCommandBuilder
|
8
|
-
module MSBuild
|
9
|
-
module V30
|
10
|
-
VERSION = '3.0'
|
11
|
-
@@config = CommandBuilderConfig.new FluentCommandBuilder::MSBuild::COMMAND_NAME, VERSION
|
12
|
-
@@config.version_detector = FluentCommandBuilder::MSBuild.version_detector
|
13
|
-
def configure_msbuild
|
14
|
-
yield @@config
|
15
|
-
@@config.validate_path
|
16
|
-
@@config.validate_version
|
17
|
-
end
|
18
|
-
def msbuild(project_file=nil)
|
19
|
-
b = UnderlyingBuilder.new @@config
|
20
|
-
c = MSBuild.new(b, project_file)
|
21
|
-
yield b if block_given?
|
22
|
-
c
|
23
|
-
end
|
24
|
-
class MSBuild < CommandBase
|
25
|
-
def initialize(underlying_builder, project_file=nil)
|
26
|
-
super underlying_builder
|
27
|
-
@b.append " #{@b.format project_file}" unless project_file.nil?
|
28
|
-
end
|
29
|
-
def help
|
30
|
-
@b.append ' /help'
|
31
|
-
yield @b if block_given?
|
32
|
-
self
|
33
|
-
end
|
34
|
-
def no_logo
|
35
|
-
@b.append ' /noLogo'
|
36
|
-
yield @b if block_given?
|
37
|
-
self
|
38
|
-
end
|
39
|
-
def version
|
40
|
-
@b.append ' /version'
|
41
|
-
yield @b if block_given?
|
42
|
-
self
|
43
|
-
end
|
44
|
-
def file(file)
|
45
|
-
@b.append " @#{@b.format file}"
|
46
|
-
yield @b if block_given?
|
47
|
-
self
|
48
|
-
end
|
49
|
-
def no_auto_response
|
50
|
-
@b.append ' /noAutoResponse'
|
51
|
-
yield @b if block_given?
|
52
|
-
self
|
53
|
-
end
|
54
|
-
def target(target)
|
55
|
-
@b.append " /target:#{@b.format target, ';'}"
|
56
|
-
yield @b if block_given?
|
57
|
-
self
|
58
|
-
end
|
59
|
-
def property(property)
|
60
|
-
@b.append " /property:#{@b.format property, ';', '='}"
|
61
|
-
yield @b if block_given?
|
62
|
-
self
|
63
|
-
end
|
64
|
-
def logger(logger)
|
65
|
-
@b.append " /logger:#{@b.format logger}"
|
66
|
-
yield @b if block_given?
|
67
|
-
self
|
68
|
-
end
|
69
|
-
def console_logger_parameters(parameters)
|
70
|
-
@b.append " /consoleLoggerParameters:#{@b.format parameters}"
|
71
|
-
yield @b if block_given?
|
72
|
-
self
|
73
|
-
end
|
74
|
-
def verbosity(level)
|
75
|
-
@b.append " /verbosity:#{@b.format level}"
|
76
|
-
yield @b if block_given?
|
77
|
-
self
|
78
|
-
end
|
79
|
-
def no_console_logger
|
80
|
-
@b.append ' /noConsoleLogger'
|
81
|
-
yield @b if block_given?
|
82
|
-
self
|
83
|
-
end
|
84
|
-
def validate(schema=nil)
|
85
|
-
@b.append ' /validate'
|
86
|
-
@b.append ":#{@b.format schema}" unless schema.nil?
|
87
|
-
yield @b if block_given?
|
88
|
-
self
|
89
|
-
end
|
90
|
-
end
|
91
|
-
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|