Class: Phoenx::FrameworkTargetBuilder

Inherits:
TestableTargetBuilder show all
Defined in:
lib/phoenx/use_cases/generate_target.rb

Instance Attribute Summary

Attributes inherited from TargetBuilder

#framework_files, #project, #project_spec, #target_spec

Instance Method Summary collapse

Methods inherited from TestableTargetBuilder

#add_schemes, #add_sub_projects, #add_test_targets, #generate_target_scheme, #sort_build_phases

Methods inherited from TargetBuilder

#add_build_phase_scripts, #add_config_files, #add_frameworks_and_libraries, #add_headers, #add_private_headers, #add_project_headers, #add_public_headers, #add_resources, #add_sources, #add_support_files, #add_system_dependencies, #configure_target, #initialize

Constructor Details

This class inherits a constructor from Phoenx::TargetBuilder

Instance Method Details

#buildObject



323
324
325
326
# File 'lib/phoenx/use_cases/generate_target.rb', line 323

def build
	@target = @project.new_target(@target_spec.target_type, @target_spec.name, @target_spec.platform, @target_spec.version)
	super()
end

#targetObject



328
329
330
# File 'lib/phoenx/use_cases/generate_target.rb', line 328

def target
	return @target
end