Sha256: e0723849e205409e0fbf118dc91e01f1add15bc926aa3af6e54edd73ae0b771a

Contents?: true

Size: 964 Bytes

Versions: 2

Compression:

Stored size: 964 Bytes

Contents

require 'constants'
require 'file_path_utils'


desc "Build release target."
task RELEASE_SYM => [:directories] do
  header = "Release build '#{File.basename(PROJECT_RELEASE_BUILD_TARGET)}'"
  @ceedling[:streaminator].stdout_puts("\n\n#{header}\n#{'-' * header.length}")  
  
  core_objects  = []
  extra_objects = @ceedling[:file_path_utils].form_release_build_c_objects_filelist( COLLECTION_RELEASE_ARTIFACT_EXTRA_LINK_OBJECTS )
  
  @ceedling[:project_config_manager].process_release_config_change
  core_objects.concat( @ceedling[:release_invoker].setup_and_invoke_c_objects( COLLECTION_ALL_SOURCE ) )
  
  # if assembler use isn't enabled, COLLECTION_ALL_ASSEMBLY is empty array & nothing happens
  core_objects.concat( @ceedling[:release_invoker].setup_and_invoke_asm_objects( COLLECTION_ALL_ASSEMBLY ) )
  
  file( PROJECT_RELEASE_BUILD_TARGET => (core_objects + extra_objects) )
  Rake::Task[PROJECT_RELEASE_BUILD_TARGET].invoke
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.0.5 new_project_template/vendor/ceedling/lib/tasks_release.rake
ceedling-0.0.4 new_project_template/vendor/ceedling/lib/tasks_release.rake