Class: FluentCommandBuilder::XCodeBuild::V43::BuildProjectScheme

Inherits:
CommandBase
  • Object
show all
Defined in:
lib/fluent_command_builder/command_builders/xcodebuild_43.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.



143
144
145
146
147
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 143

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

Yields:

  • (@b)


148
149
150
151
152
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 148

def architecture(architecture)
  @b.append " -arch #{@b.format architecture}"
  yield @b if block_given?
  self
end

#build_action(build_action) {|@b| ... } ⇒ Object

Yields:

  • (@b)


193
194
195
196
197
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 193

def build_action(build_action)
  @b.append " #{@b.format build_action, ' '}"
  yield @b if block_given?
  self
end

#configuration(configuration_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


153
154
155
156
157
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 153

def configuration(configuration_name)
  @b.append " -configuration #{@b.format configuration_name}"
  yield @b if block_given?
  self
end

#jobs(number) {|@b| ... } ⇒ Object

Yields:

  • (@b)


158
159
160
161
162
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 158

def jobs(number)
  @b.append " -jobs #{@b.format number}"
  yield @b if block_given?
  self
end

#parallelize_targets {|@b| ... } ⇒ Object

Yields:

  • (@b)


163
164
165
166
167
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 163

def parallelize_targets
  @b.append ' -parallelizeTargets'
  yield @b if block_given?
  self
end

#scheme(scheme_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


168
169
170
171
172
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 168

def scheme(scheme_name)
  @b.append " -scheme #{@b.format scheme_name}"
  yield @b if block_given?
  self
end

#sdk(sdk_name) {|@b| ... } ⇒ Object

Yields:

  • (@b)


173
174
175
176
177
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 173

def sdk(sdk_name)
  @b.append " -sdk #{@b.format sdk_name}"
  yield @b if block_given?
  self
end

#setting(setting, value) {|@b| ... } ⇒ Object

Yields:

  • (@b)


188
189
190
191
192
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 188

def setting(setting, value)
  @b.append " #{@b.format setting}=#{@b.format value}"
  yield @b if block_given?
  self
end

#verbose {|@b| ... } ⇒ Object

Yields:

  • (@b)


178
179
180
181
182
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 178

def verbose
  @b.append ' -verbose'
  yield @b if block_given?
  self
end

#xcconfig(path) {|@b| ... } ⇒ Object

Yields:

  • (@b)


183
184
185
186
187
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 183

def xcconfig(path)
  @b.append " -xcconfig #{@b.format path}"
  yield @b if block_given?
  self
end