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