Class: FluentCommandBuilder::XCodeBuild::V43::BuildProjectScheme
- Inherits:
-
CommandBase
- Object
- CommandBase
- FluentCommandBuilder::XCodeBuild::V43::BuildProjectScheme
- Defined in:
- lib/fluent_command_builder/command_builders/xcodebuild_43.rb
Instance Method Summary collapse
- #architecture(architecture) {|@b| ... } ⇒ Object
- #build_action(build_action) {|@b| ... } ⇒ Object
- #configuration(configuration_name) {|@b| ... } ⇒ Object
-
#initialize(underlying_builder, build_action = nil) ⇒ BuildProjectScheme
constructor
A new instance of BuildProjectScheme.
- #jobs(number) {|@b| ... } ⇒ Object
- #parallelize_targets {|@b| ... } ⇒ Object
- #scheme(scheme_name) {|@b| ... } ⇒ Object
- #sdk(sdk_name) {|@b| ... } ⇒ Object
- #setting(setting, value) {|@b| ... } ⇒ Object
- #verbose {|@b| ... } ⇒ Object
- #xcconfig(path) {|@b| ... } ⇒ Object
Methods inherited from CommandBase
Constructor Details
#initialize(underlying_builder, build_action = nil) ⇒ BuildProjectScheme
Returns a new instance of BuildProjectScheme.
144 145 146 147 148 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 144 def initialize(, build_action=nil) super @b.append ' ' @b.append "#{@b.format build_action, ' '}" unless build_action.nil? end |
Instance Method Details
#architecture(architecture) {|@b| ... } ⇒ Object
149 150 151 152 153 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 149 def architecture(architecture) @b.append " -arch #{@b.format architecture}" yield @b if block_given? self end |
#build_action(build_action) {|@b| ... } ⇒ Object
194 195 196 197 198 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 194 def build_action(build_action) @b.append " #{@b.format build_action, ' '}" yield @b if block_given? self end |
#configuration(configuration_name) {|@b| ... } ⇒ Object
154 155 156 157 158 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 154 def configuration(configuration_name) @b.append " -configuration #{@b.format configuration_name}" yield @b if block_given? self end |
#jobs(number) {|@b| ... } ⇒ Object
159 160 161 162 163 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 159 def jobs(number) @b.append " -jobs #{@b.format number}" yield @b if block_given? self end |
#parallelize_targets {|@b| ... } ⇒ Object
164 165 166 167 168 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 164 def parallelize_targets @b.append ' -parallelizeTargets' yield @b if block_given? self end |
#scheme(scheme_name) {|@b| ... } ⇒ Object
169 170 171 172 173 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 169 def scheme(scheme_name) @b.append " -scheme #{@b.format scheme_name}" yield @b if block_given? self end |
#sdk(sdk_name) {|@b| ... } ⇒ Object
174 175 176 177 178 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 174 def sdk(sdk_name) @b.append " -sdk #{@b.format sdk_name}" yield @b if block_given? self end |
#setting(setting, value) {|@b| ... } ⇒ Object
189 190 191 192 193 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 189 def setting(setting, value) @b.append " #{@b.format setting}=#{@b.format value}" yield @b if block_given? self end |
#verbose {|@b| ... } ⇒ Object
179 180 181 182 183 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 179 def verbose @b.append ' -verbose' yield @b if block_given? self end |
#xcconfig(path) {|@b| ... } ⇒ Object
184 185 186 187 188 |
# File 'lib/fluent_command_builder/command_builders/xcodebuild_43.rb', line 184 def xcconfig(path) @b.append " -xcconfig #{@b.format path}" yield @b if block_given? self end |