Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for shell script input/output paths #195

Merged
merged 1 commit into from
Jan 13, 2019

Conversation

igor-makarov
Copy link
Owner

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.

@igor-makarov igor-makarov merged commit e5af9b6 into master Jan 13, 2019
@igor-makarov igor-makarov deleted the script-file-paths branch January 13, 2019 12:32
alokc83 added a commit to MtAden/xcake that referenced this pull request Jul 1, 2020
* fix bundler-gate build error

* fix bundler-gate build error

* add shell script input/output paths (igor-makarov#195)

* bump version

* Disable Xcodeproj diffing in integration tests as it doesn't work (igor-makarov#199)

This PR fixes nightly builds failing on Xcodeproj egde version, as it changes some base constants to new version.

As I can't actually account for that, I had to disable Xcodeproj diffing.

* Travis grooming (igor-makarov#200)

* don't build on ruby 2.0.0 + add linux

* disable xcodebuild integration test on Linux

* add LINT task

* pin rubocop version

* Add `before_save` hook (igor-makarov#201)

* add `before_save` hook

* add test for `before_hook`

* bump version to 0.9.2

* bump rake dependency to silence security warning (igor-makarov#202)

* fix inherit configuration logic (igor-makarov#212)

* bump version to 0.9.3

* Update documentation on build phases (igor-makarov#209)

* Update documentation on build phases

* Improve description and example code per review

Co-authored-by: Igor Makarov <igormaka@gmail.com>
Co-authored-by: Patrick <patrickuijpers@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant