Sha256: 51a50846e8b7a490f679289c420479f7008e63c2f6cee39edd6127de30965345
Contents?: true
Size: 611 Bytes
Versions: 10
Compression:
Stored size: 611 Bytes
Contents
module Xcake # This class is used to represent a shell script build phase # class ShellScriptBuildPhase < BuildPhase # The name of the build phase as shown in Xcode attr_accessor :name # String coataining the contents of the script to run attr_accessor :script def build_phase_type Xcodeproj::Project::Object::PBXShellScriptBuildPhase end def configure_native_build_phase(native_build_phase, _context) native_build_phase.name = name native_build_phase.shell_script = script.strip_heredoc end def to_s "BuildPhase<#{name}>" end end end
Version data entries
10 entries across 10 versions & 1 rubygems