Class: XCJobs::Build

Inherits:
Xcodebuild show all
Defined in:
lib/xcjobs/xcodebuild.rb

Direct Known Subclasses

BuildForTesting, TestWithoutBuilding

Instance Attribute Summary

Attributes inherited from Xcodebuild

#build_dir, #configuration, #coverage, #description, #destinations, #formatter, #hide_shell_script_environment, #name, #project, #provisioning_profile, #provisioning_profile_name, #provisioning_profile_uuid, #scheme, #sdk, #signing_identity, #target, #unsetenv_others, #workspace

Instance Method Summary collapse

Methods inherited from Xcodebuild

#add_build_option, #add_build_setting, #add_destination, #add_only_testing, #add_skip_testing, #after_action, #before_action, #coverage_enabled

Constructor Details

#initialize(name = :build) {|_self| ... } ⇒ Build

Returns a new instance of Build.

Yields:

  • (_self)

Yield Parameters:

  • _self (XCJobs::Build)

    the object that the method was called on


227
228
229
230
231
232
# File 'lib/xcjobs/xcodebuild.rb', line 227

def initialize(name = :build)
  super
  @description ||= 'build application'
  yield self if block_given?
  define
end