Class: FluentCommandBuilder::XCodeBuild::V44::BuildProjectScheme
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V44::BuildProjectScheme
show all
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_44.rb
Instance Method Summary
collapse
Methods inherited from CommandBase
#configure!, #execute!, #to_s
Constructor Details
#initialize(underlying_builder, build_action = nil) ⇒ BuildProjectScheme
Returns a new instance of BuildProjectScheme.
164
165
166
167
168
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 164
def initialize(underlying_builder, build_action=nil)
super underlying_builder
@b.append ' '
@b.append "#{@b.format build_action, ' '}" unless build_action.nil?
end
|
Instance Method Details
#architecture(architecture) {|@b| ... } ⇒ Object
169
170
171
172
173
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 169
def architecture(architecture)
@b.append " -arch #{@b.format architecture}"
yield @b if block_given?
self
end
|
#build_action(build_action) {|@b| ... } ⇒ Object
229
230
231
232
233
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 229
def build_action(build_action)
@b.append " #{@b.format build_action, ' '}"
yield @b if block_given?
self
end
|
#configuration(configuration_name) {|@b| ... } ⇒ Object
174
175
176
177
178
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 174
def configuration(configuration_name)
@b.append " -configuration #{@b.format configuration_name}"
yield @b if block_given?
self
end
|
#dry_run {|@b| ... } ⇒ Object
179
180
181
182
183
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 179
def dry_run
@b.append ' -dry-run'
yield @b if block_given?
self
end
|
#jobs(number) {|@b| ... } ⇒ Object
184
185
186
187
188
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 184
def jobs(number)
@b.append " -jobs #{@b.format number}"
yield @b if block_given?
self
end
|
#parallelize_targets {|@b| ... } ⇒ Object
189
190
191
192
193
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 189
def parallelize_targets
@b.append ' -parallelizeTargets'
yield @b if block_given?
self
end
|
#scheme(scheme_name) {|@b| ... } ⇒ Object
194
195
196
197
198
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 194
def scheme(scheme_name)
@b.append " -scheme #{@b.format scheme_name}"
yield @b if block_given?
self
end
|
#sdk(sdk_name) {|@b| ... } ⇒ Object
199
200
201
202
203
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 199
def sdk(sdk_name)
@b.append " -sdk #{@b.format sdk_name}"
yield @b if block_given?
self
end
|
#setting(setting, value) {|@b| ... } ⇒ Object
224
225
226
227
228
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 224
def setting(setting, value)
@b.append " #{@b.format setting}=#{@b.format value}"
yield @b if block_given?
self
end
|
#show_build_settings {|@b| ... } ⇒ Object
204
205
206
207
208
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 204
def show_build_settings
@b.append ' -showBuildSettings'
yield @b if block_given?
self
end
|
209
210
211
212
213
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 209
def toolchain(name)
@b.append " -toolchain #{@b.format name}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
214
215
216
217
218
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 214
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#xcconfig(path) {|@b| ... } ⇒ Object
219
220
221
222
223
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_44.rb', line 219
def xcconfig(path)
@b.append " -xcconfig #{@b.format path}"
yield @b if block_given?
self
end
|