class Xcake::ShellScriptBuildPhase

This class is used to represent a shell script build phase

Attributes

input_file_list_paths[RW]
input_paths[RW]

input/output paths

name[RW]

The name of the build phase as shown in Xcode

output_file_list_paths[RW]
output_paths[RW]
script[RW]

String coataining the contents of the script to run

Public Instance Methods

build_phase_type() click to toggle source
# File lib/xcake/dsl/build_phase/shell_script_build_phase.rb, line 17
def build_phase_type
  Xcodeproj::Project::Object::PBXShellScriptBuildPhase
end
configure_native_build_phase(native_build_phase, _context) click to toggle source
# File lib/xcake/dsl/build_phase/shell_script_build_phase.rb, line 21
def configure_native_build_phase(native_build_phase, _context)
  native_build_phase.name = name
  native_build_phase.shell_script = script.strip_heredoc
  native_build_phase.input_paths = input_paths || []
  native_build_phase.output_paths = output_paths || []
  native_build_phase.input_file_list_paths = input_file_list_paths || []
  native_build_phase.output_file_list_paths = output_file_list_paths || []
end
to_s() click to toggle source
# File lib/xcake/dsl/build_phase/shell_script_build_phase.rb, line 30
def to_s
  "BuildPhase<#{name}>"
end