Class: FluentCommandBuilder::MSBuild::V35::MSBuild
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::MSBuild::V35::MSBuild
show all
- Defined in:
- lib/fluent_command_builder/command_builders/msbuild_35.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, project_file = nil) ⇒ MSBuild
Returns a new instance of MSBuild.
24
25
26
27
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 24
def initialize(underlying_builder, project_file=nil)
super underlying_builder
@b.append " #{@b.format project_file}" unless project_file.nil?
end
|
Instance Method Details
#console_logger_parameters(parameters) {|@b| ... } ⇒ Object
73
74
75
76
77
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 73
def console_logger_parameters(parameters)
@b.append " /consoleLoggerParameters:#{@b.format parameters}"
yield @b if block_given?
self
end
|
#distributed_file_logger {|@b| ... } ⇒ Object
109
110
111
112
113
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 109
def distributed_file_logger
@b.append ' /distributedFileLogger'
yield @b if block_given?
self
end
|
#distributed_logger(logger) {|@b| ... } ⇒ Object
68
69
70
71
72
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 68
def distributed_logger(logger)
@b.append " /distributedLogger:#{@b.format logger}"
yield @b if block_given?
self
end
|
#file(file) {|@b| ... } ⇒ Object
43
44
45
46
47
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 43
def file(file)
@b.append " @#{@b.format file}"
yield @b if block_given?
self
end
|
#file_logger {|@b| ... } ⇒ Object
104
105
106
107
108
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 104
def file_logger
@b.append ' /fileLogger'
yield @b if block_given?
self
end
|
#file_logger_parameters(parameters) {|@b| ... } ⇒ Object
114
115
116
117
118
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 114
def file_logger_parameters(parameters)
@b.append " /fileLoggerParameters:#{@b.format parameters, ';', '='}"
yield @b if block_given?
self
end
|
#help {|@b| ... } ⇒ Object
28
29
30
31
32
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 28
def help
@b.append ' /help'
yield @b if block_given?
self
end
|
#ignore_project_extensions(extensions) {|@b| ... } ⇒ Object
99
100
101
102
103
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 99
def ignore_project_extensions(extensions)
@b.append " /ignoreProjectExtensions:#{@b.format extensions, ';'}"
yield @b if block_given?
self
end
|
#logger(logger) {|@b| ... } ⇒ Object
63
64
65
66
67
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 63
def logger(logger)
@b.append " /logger:#{@b.format logger}"
yield @b if block_given?
self
end
|
#max_cpu_count(number) {|@b| ... } ⇒ Object
94
95
96
97
98
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 94
def max_cpu_count(number)
@b.append " /maxCpuCount:#{@b.format number}"
yield @b if block_given?
self
end
|
#no_auto_response {|@b| ... } ⇒ Object
48
49
50
51
52
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 48
def no_auto_response
@b.append ' /noAutoResponse'
yield @b if block_given?
self
end
|
#no_console_logger {|@b| ... } ⇒ Object
83
84
85
86
87
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 83
def no_console_logger
@b.append ' /noConsoleLogger'
yield @b if block_given?
self
end
|
#no_logo {|@b| ... } ⇒ Object
33
34
35
36
37
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 33
def no_logo
@b.append ' /noLogo'
yield @b if block_given?
self
end
|
#node_reuse(parameters) {|@b| ... } ⇒ Object
124
125
126
127
128
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 124
def node_reuse(parameters)
@b.append " /nodeReuse:#{@b.format parameters}"
yield @b if block_given?
self
end
|
#property(property) {|@b| ... } ⇒ Object
58
59
60
61
62
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 58
def property(property)
@b.append " /property:#{@b.format property, ';', '='}"
yield @b if block_given?
self
end
|
#target(target) {|@b| ... } ⇒ Object
53
54
55
56
57
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 53
def target(target)
@b.append " /target:#{@b.format target, ';'}"
yield @b if block_given?
self
end
|
119
120
121
122
123
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 119
def tools_version(version)
@b.append " /toolsVersion:#{@b.format version}"
yield @b if block_given?
self
end
|
#validate(schema = nil) {|@b| ... } ⇒ Object
88
89
90
91
92
93
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 88
def validate(schema=nil)
@b.append ' /validate'
@b.append ":#{@b.format schema}" unless schema.nil?
yield @b if block_given?
self
end
|
#verbosity(level) {|@b| ... } ⇒ Object
78
79
80
81
82
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 78
def verbosity(level)
@b.append " /verbosity:#{@b.format level}"
yield @b if block_given?
self
end
|
#version {|@b| ... } ⇒ Object
38
39
40
41
42
|
# File 'lib/fluent_command_builder/command_builders/msbuild_35.rb', line 38
def version
@b.append ' /version'
yield @b if block_given?
self
end
|