Class: FluentCommandBuilder::XCodeBuild::V45::BuildProjectScheme
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V45::BuildProjectScheme
show all
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_45.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.
168
169
170
171
172
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 168
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
173
174
175
176
177
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 173
def architecture(architecture)
@b.append " -arch #{@b.format architecture}"
yield @b if block_given?
self
end
|
#build_action(build_action) {|@b| ... } ⇒ Object
233
234
235
236
237
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 233
def build_action(build_action)
@b.append " #{@b.format build_action, ' '}"
yield @b if block_given?
self
end
|
#configuration(configuration_name) {|@b| ... } ⇒ Object
178
179
180
181
182
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 178
def configuration(configuration_name)
@b.append " -configuration #{@b.format configuration_name}"
yield @b if block_given?
self
end
|
#dry_run {|@b| ... } ⇒ Object
183
184
185
186
187
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 183
def dry_run
@b.append ' -dry-run'
yield @b if block_given?
self
end
|
#jobs(number) {|@b| ... } ⇒ Object
188
189
190
191
192
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 188
def jobs(number)
@b.append " -jobs #{@b.format number}"
yield @b if block_given?
self
end
|
#parallelize_targets {|@b| ... } ⇒ Object
193
194
195
196
197
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 193
def parallelize_targets
@b.append ' -parallelizeTargets'
yield @b if block_given?
self
end
|
#scheme(scheme_name) {|@b| ... } ⇒ Object
198
199
200
201
202
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 198
def scheme(scheme_name)
@b.append " -scheme #{@b.format scheme_name}"
yield @b if block_given?
self
end
|
#sdk(sdk_name) {|@b| ... } ⇒ Object
203
204
205
206
207
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 203
def sdk(sdk_name)
@b.append " -sdk #{@b.format sdk_name}"
yield @b if block_given?
self
end
|
#setting(setting, value) {|@b| ... } ⇒ Object
228
229
230
231
232
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 228
def setting(setting, value)
@b.append " #{@b.format setting}=#{@b.format value}"
yield @b if block_given?
self
end
|
#show_build_settings {|@b| ... } ⇒ Object
208
209
210
211
212
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 208
def show_build_settings
@b.append ' -showBuildSettings'
yield @b if block_given?
self
end
|
213
214
215
216
217
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 213
def toolchain(name)
@b.append " -toolchain #{@b.format name}"
yield @b if block_given?
self
end
|
#verbose {|@b| ... } ⇒ Object
218
219
220
221
222
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 218
def verbose
@b.append ' -verbose'
yield @b if block_given?
self
end
|
#xcconfig(path) {|@b| ... } ⇒ Object
223
224
225
226
227
|
# File 'lib/fluent_command_builder/command_builders/xcodebuild_45.rb', line 223
def xcconfig(path)
@b.append " -xcconfig #{@b.format path}"
yield @b if block_given?
self
end
|