Skip to content
New issue

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

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

Already on GitHub? # to your account

Update documentation on build phases #209

Merged
merged 3 commits into from
May 27, 2020

Conversation

PatrickKuijpers
Copy link
Contributor

No description provided.

docs/Cakefile.md Outdated
end
```

You implement multi-line scripts, and define input- and output (file list) paths like this:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: "you can"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see if this new description fits better according to you ;-)

docs/Cakefile.md Outdated
target.shell_script_build_phase "Build Phase Name", myScript do |phase|
phase.input_paths = ["$(SRCROOT)/$(TARGET_NAME)/**/*.txt"]
phase.output_paths = ["$(SRCROOT)/$(TARGET_NAME)/OutputFiles/MyFile.txt"]
phase.input_file_list_paths = []
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add an example of a file list to input & output like ["$(SRCROOT)/$(TARGET_NAME)/OutputFiles/MyFileList.xcfilelist"]

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@igor-makarov igor-makarov merged commit e35dbfd into igor-makarov:master May 27, 2020
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>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants