igor-makarov / xcake

:cake: Describe Xcode projects in a human readable format and (re)generate one on demand.
MIT License
632 stars 48 forks source link

Add support for shell script input/output paths #195

Closed igor-makarov closed 5 years ago

igor-makarov commented 5 years ago

This allows specifying input/output paths for shell script build phases like so:

target.pre_shell_script_build_phase 'Script Name', 'script_path.sh' do |phase|
  phase.input_paths = ['input1', 'input2']
  phase.output_paths = ['output1', 'output2']
end

This saves time by not running the script when no necessary, more details here.