Sha256: b904b5e045db71827898cf89afbcd1d375227b3826bb27c47c181cab2add96c3
Contents?: true
Size: 681 Bytes
Versions: 2
Compression:
Stored size: 681 Bytes
Contents
module Xcake # This class is used to represent a copy files build phase # class CopyFilesBuildPhase < BuildPhase # The name of the build phase as shown in Xcode attr_accessor :name # The name of files to copy attr_accessor :files def build_phase_type Xcodeproj::Project::Object::PBXCopyFilesBuildPhase end def configure_native_build_phase(native_build_phase, _context) native_build_phase.name = name @files.each do |file| file_reference = context.file_reference_for_path(file) native_build_phase.add_file_reference(file_reference) end end def to_s "BuildPhase<#{name}>" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xcake-0.8.9 | lib/xcake/dsl/build_phase/copy_files_build_phase.rb |
xcake-0.8.8 | lib/xcake/dsl/build_phase/copy_files_build_phase.rb |